Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

why we wont describe jsp in web.xml  RSS feed

 
sai prasanna
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
why dont we describe jsp in web.xml as we do in servlets?

thanks in advance
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can.

The servlet entry can have either a servlet-class element or a jsp-file entry.
Doing so allows you to create servlet-mappings to your JSPs.
It also alows you to create servlet init-params for them.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!