I've seen elsewhere that it's a good idea to "map" servlets. My very cursory understanding is that it allows the servlet container a surer way to locate the servlets.
I'm curious if any of you doing the servlets assignments do/did this servlet mapping thing?
It is e.g. done in "Tomcat" using XML ... .
And it occures too in web.xml files in the WEB-INF directory of a web aplication (if I am not wrong, I am a beginner too)
What's the risk if you don't map your servlets?
By the way 'ant' is GREAT (see above!)! It is too a preparation to the XML-tasks in statu nascendi. Hint to the makers , because here you already have to use 'xml' without sax or ... and you get your 'compilation etc. as a gift' and ever seen the 'power' of make-files ...
Orion has this text in orion-web.xml
<orion-web-app<br /> deployment-version="1.4.5"<br /> jsp-cache-directory="./persistence"<br /> temporary-directory="./temp"<br /> servlet-webdir="/servlet/"<br /> >
So, something has to be done where to find servlets which must be done differently in tomcat.
Indeed I opened questions in "tomcat/apache"
To be able to call a servlet, you therefore need to use 'servlet-mapping'
[ October 31, 2002: Message edited by: Rene Larsen ]