File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Portals and Portlets and the fly likes Resource not found  404 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Resource not found  404 error" Watch "Resource not found  404 error" New topic

Resource not found 404 error

Ayub ali khan
Ranch Hand

Joined: Oct 20, 2005
Posts: 379

I am getting JSPG0036E: Failed to find resource /.IncludeTest/page1.jsp error when I am trying to clude page1.jsp in my portlet.

Below is the code:

<jsp:include page='<%=renderResponse.encodeURL(renderRequest.getContextPath() + "/page1.jsp")%>'/>


page1.jsp is present in WebContent folder. However its not being detected.
.IncludeTest is the context root of the project.

Could any one point whats the issue ?


SCEA part I,TOGAF Foundation
Ayub ali khan
Ranch Hand

Joined: Oct 20, 2005
Posts: 379
normal jsp include resolved the issue.

<jsp:include page="include.jsp" />

Thank you.

I agree. Here's the link:
subject: Resource not found 404 error
Similar Threads
welcome-file tag in DD
Am I misunderstanding the basics of JSF 2.0?
Hoto include JSP page in JSF
Creator 2 and Ajax4JSF
linking jsp pages in a liferay portlet