Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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.  RSS feed

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.
[Thumbnail for Capture.PNG]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!