tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Baker <raschar...@yahoo.com>
Subject Re: Servlets
Date Fri, 24 May 2002 11:25:19 GMT

--- Anibal Constante Brito <aconstante_00@hotmail.com>
wrote:
> Hello:
> 
> I dont understand somthing, I a beginner of Java
> programming and Tomcat. I
> read in some tutorial that when a wirte a servlet,
> just put the .java in
> \WEB-INF\classes and the tomcat compile this .java
> in .class, but I tried to
> do this useless.
> I have windows XP and my CLASSPATH:C:\Program
> Files\Apache Tomcat
> 4.0\common\lib and JAVA_HOME:C:\Program
> Files\jdk1.3.1_01\bin, and my web
> site is in d:\....
> 
<<SNIP>>

No, servlet containers don't compile java code,
whether regular classes or servlets, to *.class files
automatically. Servlet containers will compile *.jsp
files into servlets automatically. You must compile
the servlets yourself.

=====
rascharles@yahoo.com
Hacking is a "Good Thing!"
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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


Mime
View raw message