If I remember correctly, you probably need to provide a servlet mapping for your servlet.

Adam Dear wrote:

Schalk,

I added the following line to the server.xml file and restarted tomcat.
<context path="/servlet" docBase="servlet" debug="0" reloadable="true" />

That didn't work.  Can you tell what is wrong.  I have tomcat to load
servlets from the classes dir so that I access servlets like this:

http://mydomain.com:port#/servlet/File

Will this make a difference with what I am trying to do?

Thanks

-----Original Message-----
From: Schalk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 12:47 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Caching


Adam


In the Tomcat confide directory, there is a file called server.xml. Inside
here you can create a Context-Path and set reloadable=true.

Example:
<Context path="/meccafemme" docBase="meccafemme" debug="0"
reloadable="true" />

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za

This message contains information that is considered to be sensitive or
confidential and may not be forwarded or diclosed to any other party without
the permission of the sender. If you received this message in error, please
notify me immediately so that I can correct and delete the original email.
Thank you.

:: -----Original Message-----
:: From: Adam Dear [mailto:[EMAIL PROTECTED]
:: Sent: Saturday, October 11, 2003 7:36 AM
:: To: tomcat
:: Subject: Tomcat Caching
::
:: hello, I have just started using Tomcat to host my java servlets.  I want
to
:: know if there is anyway to turn off the caching for development purposes.
:: As it is now, when I make change to a servlet, I have to restart the
tomcat
:: server for the changes to take effect.  While this isn't hard, it is a
tad
:: bit annoying.  Please be specific as I know very little about tomcat.
::
:: Thanks
::
::
:: ---------------------------------------------------------------------
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to