File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Resource not found 404 error

 
Ayub ali khan
Ranch Hand
Posts: 394
2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ayub ali khan
Ranch Hand
Posts: 394
2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
normal jsp include resolved the issue.

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

Thank you.

Ayub
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic