I want to present the jsp file as an URl on another JSP file.
For that I have done like this.
IResource rs = componentRequest.getResource(IResource.JSP, "page2.jsp");
String JSP_URL = rs.getResourceInformation().getURL(componentRequest);
when I print the JSP_URL, it is giving the path as
But while accessing through URL, it is giving the following error.
Directory web-inf is not accessible for browsing.
Can anybody tell me how to access the jsp page.
Thanks in advance.