do we need to include all the jsp files and servlet name in web.xml or just login page is enough.
JSPs arent required in the web.xml provided you arent using a JSP as a raw servlet. The login page ( JSP or HTML or anything else ) has to be mentioned in the welcome page list of the web.xml. As for the servlets, yes every other servlet has to be mapped in the web.xml with a valid mapping url ( how else would you call them if you dont map them with a url and a name ) .
Having 200 JSPs is not an issue at all ( you can have many more ) , but yes, maintaining 120 servlets in the web.xml can be a bit of a difficult job . I suggest you take a look into the front controller pattern in which all requests coming from a client are entertained by a single controller servlet and then re-directed to the required task class. Take a look into struts framework here Link
Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
That new kid is a freak. Show him this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads