Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Resource not found 404 error

 
Ayub ali khan
Ranch Hand
Posts: 394
2
  • 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
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic