RE: How to refer to a jsp page located in my portlet's /WEB-INF/jsp/ folder

September 2, 2011 10:53 AM

Tomáš Polešovský

Rank: Expert

Posts: 418

Join Date: February 13, 2009

Recent Posts

Hello Zsolt,

you simply can't access files located in the WEB-INF directory using browser. It would be security bug

Better way is to use <portlet:resourceURL>. Using this tag you can create URL that will point to theserveResourcemethod of your portlet. There you can check input parameters and use RequestDispatcher to include your JSP file.

--

tom

RE: How to refer to a jsp page located in my portlet's /WEB-INF/jsp/ folder

September 5, 2011 1:37 AM

Zsolt Vilhelm

Rank: New Member

Posts: 12

Join Date: August 30, 2011

Recent Posts

Could please provide me some examples or point me to the right direction?

RE: How to refer to a jsp page located in myportlet's /WEB-INF/jsp/ folder

September 5, 2011 6:15 AM

Tomáš Polešovský

Rank: Expert

Posts: 418

Join Date: February 13, 2009

Recent Posts

Do you use MVCPortlet or have you created your own?

I assume you don't use MVCPortlet (where you can't include files from WEB-INF directory by default).