You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Isak Rickyanto <is...@telkom.net> on 2001/09/23 15:21:07 UTC

newbie Servlet

Sorry it is newbie..

I have myservlet.java
and i place in
tomcat/webapps/myapp/web-inf/classes
and i had modified web.xml in web-inf..

I only want to ask... Is Tomcat not automatically compile it? or I must
compile the servlet first?



RE: newbie Servlet

Posted by Martin van den Bemt <ma...@isallineed.org>.
You have to use compiled classes.

Mvgr,
Martin

> -----Original Message-----
> From: Isak Rickyanto [mailto:iseec@telkom.net]
> Sent: Sunday, September 23, 2001 3:21 PM
> To: Tomcat User Group
> Subject: newbie Servlet
> 
> 
> Sorry it is newbie..
> 
> I have myservlet.java
> and i place in
> tomcat/webapps/myapp/web-inf/classes
> and i had modified web.xml in web-inf..
> 
> I only want to ask... Is Tomcat not automatically compile it? or I must
> compile the servlet first?
> 
> 
> 

Re: newbie Servlet

Posted by Dmitri Colebatch <di...@bigpond.net.au>.
yes you do have to compile your servlets.  jsps are the only thing that
tomcat will compile for you.  

cheers
dim

On Sun, 23 Sep 2001, Isak Rickyanto wrote:

> Sorry it is newbie..
> 
> I have myservlet.java
> and i place in
> tomcat/webapps/myapp/web-inf/classes
> and i had modified web.xml in web-inf..
> 
> I only want to ask... Is Tomcat not automatically compile it? or I must
> compile the servlet first?
> 
> 
>