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

how jsp:forward didn't find specified html page which is not in the same directory or not in app.

 
kiran kumar reddy
Ranch Hand
Posts: 94
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have index.jsp which is defined under welcome-file-list tag. here it goes



it has a forward action now the request is forwarded to contacts.html but in my application there is no contacts.html page under any directory but has a page contact.jsp under web-inf folder. when i run my application as a default it goes to welcome file page and now that it is forwarded to contacts.html page and since i don't have contacts.html it must show me an error right? but instead it is showing me contact.jsp page which is in web-inf folder.

web.xml file.
Capture.PNG
[Thumbnail for Capture.PNG]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic