Turn up debugging and check your logs. It should report on startup what is processed. Look for errors.

Move the ROOT folder out of the webapps folder.

After step 3 would step 1 still work?

Doug

----- Original Message ----- From: "xhu1" <[EMAIL PROTECTED]>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, January 11, 2005 8:42 PM
Subject: set default web application



Hi,
I just downloaded Tomcat5.5 and Struts1.2.4. I would
like to make struts-mailreader app to be the default
application in Tomcat. However I could not make it.

What I did (I didn't touch any configuration yet):
1. copy struts-mailreader.war and put in webapps
directory. it got deployed and I can go to
http://localhost:8080/struts-mailreader
2. I add context.xml under
webapps/struts-mailreader/META-INFO with the following
line:
<Context path=""
docbase="${catalina.home}/webapps/struts-mailreader"></Context>.
When I go to http://localhost:8080, it still points to
welcome one.
3. I rename ROOT under webapps to be ROOT1, now
http://localhost:8080 becomes blank screen
4, I add struts-mailreader.xml under
conf\Catalina\localhost with the same line as in
context.xml, it still a blank screen when I request
http://localhost:8080.

set the default web app should be very commom task,
but it's so difficult for me. Please help. Thanks.




__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
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