This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Resource not found  404 error" Watch "Resource not found  404 error" New topic
Author

Resource not found 404 error

Ayub ali khan
Ranch Hand

Joined: Oct 20, 2005
Posts: 380
    
    2
Hi,

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:


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

</f:view>

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 ?

--Ayub


SCEA part I,TOGAF Foundation
Ayub ali khan
Ranch Hand

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

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

Thank you.

Ayub
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resource not found 404 error