java servlet compilation

Sir,How do I compile java servlet and in which directory?where do I put java servlet source file?
[111 byte] By [Kramesha] at [2007-10-2 15:19:31]
# 1

It depends on the operating system and the web server you are using. For example, if you are using windows with tomcat the directories will be more or less:

- tomcat

- webapps

- WEB-INF

-src

- <your package structure>

-<your file.java>

-classes

- <your package structure>

- <your file . class>

When you are using an IDE like eclipse you can configure both: the source directory and the classes output.

ingdouglasa at 2007-7-13 14:26:38 > top of Java-index,Developer Tools,Java Compiler...
# 2
see this thread http://forum.java.sun.com/thread.jspa?threadID=719173&tstart=0~alshehhi
Alshehhia at 2007-7-13 14:26:38 > top of Java-index,Developer Tools,Java Compiler...