tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "inr" <ayya...@4sight-tech.com>
Subject How to map the servlet in web.xml
Date Tue, 26 Feb 2002 17:06:43 GMT
Hai all,


+--Root
     +--Web-Inf
            +--Classes
                 --HelloWorld.class
                 +--servlet
                      +--myservlet
                            --Myservlet.class

         I am using the following servlet mapping in my webApplication
Deployment Descriptor web.xml,  when i attempt to use /justtesting the
sevlet produces the respone in Browser

 <servlet>
        <servlet-name>HelloWorld</servlet-name>
        <servlet-class>HelloWorld</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>HelloWorld</servlet-name>
        <url-pattern>/justtesting</url-pattern>
</servlet-mapping>


if i want to map a Group of  Servlet E.g the servlets under the folder
Root/Web-Inf/Classes/servlet/....

what i Should do..

Thanks for ever,
inr



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message