tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: how to compile java file in tomcat ?
Date Fri, 19 Jan 2007 09:48:08 GMT
Probably best if you do some reading first.

If you're new to java then you should read up on how to compile .java 
files into .class files, and how to place them in packages.  Tomcat 
likes things to be packaged neatly.


You'll need to know a little bit about the servlet spec, how to write a 
basic servlet, and how to configure the web.xml file to activate the 
servlet.  The Tomcat examples (probably included in your distribution) 
go a long way to demonstrating all this.

Assuming you're using Tomcat5.5 you should read up on the server 
documentation too.


Google is your friend, this list is better at answering questions 
regarding specific technical problems, than giving one-on-one tutorials.


Harish Pathak wrote:
> Hi All,
>   Anybody please tell me how to compile java file in tomcat ?
>   I have placed java file inside root \web-inf\classes
>   Thanks
>   Please reply soon.
>   Harish Pathak
> ---------------------------------
> Don't pick lemons.
> See all the new 2007 cars at Yahoo! Autos.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message