• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Basic question on jsp

 
Johnson David
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Its a basic question on jsp.We know that all servlets require web.xml , but a jsp does'nt.

i just want to know why does'nt a jsp requires a web.xml.

correct me if i am wrong

thanks in advnace

Johnson
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All well-formed web applications should have at least a rudimentary deployment descriptor (web.xml).

You can get away without one for a simple JSP because the container handles loading the servlet generated on behalf of the JSP automatically.
[ October 17, 2006: Message edited by: Bear Bibeault ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic