its all in your server.xml configuration in the Context element. you can go
to tomcat docs to learn more.
generally, you should have the path "" have the docbase "yourAppName".


-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] Behalf Of Ming
Sent: Tuesday, November 30, 2004 1:17 AM
To: [EMAIL PROTECTED]
Subject: URL mapping ...


I uploaded my application in an war_file_name.war file in
the /public_html/webapps folder. Everything was deployed
under /public_html/webapps/war_file_name. Now my web site has to be
accessed by http://www.mydomainname.com/war_file_name/index.jsp, instead of
http://www.mydomainname.com/index.jsp

Is there a way to do the mapping? I'd like my Web site to be accessed by
http://www.mydomainname.com/war_file_name/index.jsp.

Thanks in advance.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to