wood burning stoves 2.0*
The moose likes JSP and the fly likes Basic question on jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Basic question on jsp " Watch "Basic question on jsp " New topic
Author

Basic question on jsp

Johnson David
Greenhorn

Joined: May 22, 2005
Posts: 27
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

Joined: Jan 10, 2002
Posts: 60822
    
  65

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 ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Basic question on jsp
 
Similar Threads
Variable value attribute in jsp:setProperty
JClass Grid Question
Passed SCEA I, II and III
secutity-constraint web.xml
security-constraint