My question was that when you have a servlet, a new one you wrote lets say 
Test.java, do you have to explicitly put an entry in the web.xml for it to be 
executed.  For example: 
        
>     <servlet>
>         <servlet-name>
>             Test
>         </servlet-name>
>         <servlet-class>
>             Test
>         </servlet-class>
>     </servlet>

I tried to execute a new servlet by just putting the Test.class file in the 
'classes' folder in Web-inf directory, however the server returns a 404 
message. So I am thinking that  you have to put an entry in the web.xml for 
the server to know what to execute. And if this is the case and you have an 
application that requires several servlets do you have to put all the 
servlets in the web.xml file.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to