Define your app in server.xml as follows

 <Context path="/pmisnet" docBase="f:/java/pmis1"  debug="0"
reloadable="true"/>

and add to your web.xml this section

    <servlet>
        <servlet-name>welcome</servlet-name>
        <servlet-class>WelcomeServlet</servlet-class>
    </servlet>

and now your servlet could be invoked by request like that
http://host:8080/pmisnet/servlet/welcome.
If you would like to avoid using Servlet Invoker
(http://host:8080/pmisnet/welcome)
define in your web.xml some mapping for the servlet

    <servlet-mapping>
        <servlet-name>welcome</servlet-name>
        <url-pattern>/welcome</url-pattern>
    </servlet-mapping>

I highly recommend you downloading servlet specification form Sun
JSR-000053 Java Servlet 2.3 and JavaServer Pages 1.2 Specifications from
http://www.jcp.org/aboutJava/communityprocess/final/jsr053/

Piotr K.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to