You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ben Souther <bs...@fwdco.com> on 2005/02/02 22:46:22 UTC

Re: compiling and deployment in tomcat

On Wed, 2005-02-02 at 17:34, Julio Macedo wrote:
> 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?
Yes
> 
>  
> 
> 2. Do I really have to register my servlets in web.xml file or this
> process can be done automatically by Tomcat?
Yes.
This is why:
http://jakarta.apache.org/tomcat/faq/misc.html#evil
> 
>  
> 
> 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.
Nope, sorry.
> 
>  
> 
> Thanks,
> 
>  
> 
> Julio
> 
>  
> 
> 
> 


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