1 - Yes, you have to compile them
2 - If you don't want to register your servlets in web.xml, you can use
the Invoker servlet.  However, I believe there are security issues with
it, since it will allow any servlet on your site to be run.

Subir

-----Original Message-----
From: Julio Macedo [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 02, 2005 2:34 PM
To: tomcat-user@jakarta.apache.org
Subject: compiling and deployment in tomcat


Hi,

 

I've just installed Tomcat 5.5 and I have two main doubts and I hope
someone may help me.

 

1. Do I really have to compile a servlet manually using javac (or using
another tool) or may I save it in a specific folder so Tomcat compiles
it to me?

 

2. Do I really have to register my servlets in web.xml file or this
process can be done automatically by Tomcat?

 

When I did the test with jsp pages, it was not necessary compile or
register the file (Tomcat did everything to me) so I expect the same
with servlets.

 

Thanks,

 

Julio

 

 


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

Reply via email to