|
Aruna,
You have to place your servlet classes in the
"<apache-home>/server/classes" directory.
Treat the servlet files like any other java file. compile
with javac.
Do spend sometime in reading the
documentation, so that u'll comfortable with it. It's quite
detailed.
Vinay
Hello All,
This may be a very small question but I
am new to this subject.
I am wondering how to compile a servlet
to create the class file after downloading the tomcat 4.0.
I was tring to compile a servlet in the
jdk1.3 environment but I was getting errors this is the first time Iam trying
to create an example of servlet(after download). The example servlets that
come with tomcat 4.0 seem to be working fine.
I have a servlet called
SimpleServlet which I want to compile and run.
I was wondering if there are any
changes that I have to make to my class path. right now i have
set Catalina_home and Java home environments which I have included in the
path variable and the class path variable is pointing to the servlet.jar of
the tomcat and tools.jar in the jdk.
Please tell me how to change the class
path to compile and run a new servlet and JSP with tomcat.
Thanks,
Aruna
"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."
|