Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Tomcat and Servlets

Reply
Thread Tools

Tomcat and Servlets

 
 
newbie29
Guest
Posts: n/a
 
      04-25-2005
Hi,

I'm using Tomcat 4.0 and would like to know if it is possible to have
servlet classes in other directories other than
c:\jakarta-tomcat-4.0\webapps . And if so should you modify the
server.xml <Context> to something? What is it?

A little bit of background:

Right now, I have this servlet in
c:\crs570\website\WEB-INF\classes\HelloWorldServlet.class

and I would like to run it using the following web browser command
http://localhost:8080/servlet/HelloWorldServlet

Thank you,
N29
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat 5.5.6 : How to deploy and run JSP and Servlets Martin Java 6 12-11-2010 03:05 PM
Java servlets: Hi All! I want to display xml file in browser using servlets datta.saru Software 0 05-15-2006 03:30 PM
Tomcat 3.3.1a question - servlets not under WEB-INF\classes\ M Java 5 09-19-2003 11:09 PM
Tomcat classpath and servlets outside of WEB-INF Jim Java 2 08-13-2003 07:11 PM
Tomcat symbolic links and running servlets Jim Java 4 08-08-2003 06:30 PM



Advertisments