wood burning stoves 2.0*
The moose likes Servlets and the fly likes Urgent Please Help!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Urgent Please Help!!!!" Watch "Urgent Please Help!!!!" New topic
Author

Urgent Please Help!!!!

Tualha Khan
Ranch Hand

Joined: Nov 22, 2000
Posts: 287
Dear All,
Hey,
I have to set my machine for working on some Servlet codes (urgently). My Machine has Apache and Tomcat set for JSP. It works perfectly well. I want to know, what additional setup is
required to enable Servlet development in this environment. I want to make this change in such a way that my existing setup is not affected.
Please help, there is an urgency!!
Thanks,
Bye,
Tualha Khan


SCJP2, BEA WLS 6.0, DB2 UDB 7.1
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
You don't need anything else. If the machine will run JSP, it will run servlets. Check out the examples which come with Tomcat to see how servlets work.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Tualha Khan
Ranch Hand

Joined: Nov 22, 2000
Posts: 287
Thanks a lot,
But where do I keep my compiled class files?
Bye,
Tualha Khan
Raghavendra Holla
Ranch Hand

Joined: Jun 02, 2000
Posts: 58
Hi,
You have to place .class files in TOMCAT_HOME\webapps\Your_Project_directory\WEB_INF\classes directory.
I have assumed that you have made an entry for 'context path' with respect to 'Your_Project_directory' in server.xml file of Tomcat which will exist in conf directory.
regards,
holla.
Tualha Khan
Ranch Hand

Joined: Nov 22, 2000
Posts: 287
Well, actually, i have the following path for my JSP files:
tomcat\webapps\mydev
where in mydev is my context. I think the path for servlets will be:
tomcat\webapps\myservletpath
Do I have to specify the web_INF on my own or is it provided by tomcat on it's own.
Please correct me?? I am still a newbie for this.
Thanks a lot,
Bye,
Tualha Khan
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Urgent Please Help!!!!
 
Similar Threads
Install and run Java development on machine
Servlet as an rmi client
Java Web Start
Installing the Data base, Application server, IDE together
Installing the Data base, Application server, IDE together