I got the servlet reload to work, but can't get the default ROOT context to
work.

I uncommented the "invoke servlet" sections in web.xml and when I executed
any Servlets, I got a blank page.

I then commented them back out, and the Servlet worked fine (although I
could not execute under ROOT default app.

I made these changes:
context.xml:
  <Context path="" docBase="ROOT" reloadable="true"/>

web.xml:
   Uncommented the "invoker" servlet and it's mappings.

When I ran my Servlet under the default ROOT app and my own app - I got a
blank page - no output (no errors - so it found the Servlet?).

When I removed the changes in web.xml ("invoker" is now commented out) - my
Servlet worked under my app (not under ROOT).

thanks for any help

osubb



Caldarale, Charles R wrote:
> 
>> From: osubb [mailto:[EMAIL PROTECTED] 
>> Subject: Configuring Default ROOT Context
>> 
>> I have a book that is about 4 years old
> 
> Throw it away.  It will have little bearing on current practice.
> 
> All of the topics you're posting about have been complete redone.  Read
> the current docs:
> http://tomcat.apache.org/tomcat-6.0-doc/index.html
> http://tomcat.apache.org/tomcat-6.0-doc/config/index.html
> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
> 
> The last one covers how the <Context> (not <context>) element works
> these days.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Configuring-Default-ROOT-Context-tp15595290p15617614.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to