Steve Hole <[EMAIL PROTECTED]> wrote:
This implies that the element defines the name of the
web application?
------ what do you mean? the webapp is defined by the name of the folder ("test")
So what does the web.xml look like for the above? Something like:
<servlet>
<servlet-name>simple</servlet-name>
<servlet-class>Simple></servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>simple</servlet-name>
<url-pattern>/welcomeme.xxx</url-pattern>
</servlet-mapping>
then you will invoke by
http://localhost:8080/test/servlet/Simple - from servlet class
http://localhost:8080/test/servlet/simple - from <servlet> tag
http://localhost:8080/test/welcomeme.xxx - from <servlet-mapping> tag
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more