Hi, One way to go about this is to define path="" in conf/server.xml for your webapp. So you need a <Context> element for it whose path attribute is set to "".
I wouldn't claim the Tomcat does are as good or complete as Apache httpd's, but we make an effort and we especially try to quickly incorporate any patches and enhancements submitted by users. So if you see a need or have something to contribute, please post it and we'll gladly look at it. Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Dan Schwartz [mailto:[EMAIL PROTECTED] >Sent: Friday, August 20, 2004 2:36 PM >To: [EMAIL PROTECTED] >Subject: Tomcat 5.0.27 virtual paths > >I have been searching thru the docs but I cannot figure this out. I >just deployed and started my first webApp: /usr/tomcat/webapps/j606. >I browse to this without a problem at http://localhost:8080/j606. But >what I want is j606 to be the base folder when I use virtual paths >inside it. to use virtual paths now I have to go >"/j606/images/xxx.png", but i need "/images/xxx.png". I've been >searching around for this, but there doesn't seem to be a great deal >of tomcat documentation when compared to apache httpd. > >I don't care what the url is like, with apache httpd i have serveral >virtual hosts all on different ports, but localhost:8080/myAppName >would be find too. I would just set this up whichever way is the >easiest! >any help greatly appreciated! > >Thank You, >DJ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
