Thanks for the reply, but I think I may be in more trouble than i thought. I've tried quite a few different things, with no luck. First of all, maybe I'm missing some needed steps before I even get this far. All that I have done is created a directory under webapps, deployed the directory in tomcat manager, started the web application in the manager and then confirmed that I could access http://localhost:8080/j606. I assume this is all i need to do to start???
Now I've tried to add a context element to /tomcat/conf/server.xml with path="" and path="/j606", i added a whole new <Host> item, I tried to create /j606/WEB-INF/server.xml and j606.xml with context items, but nothing has worked for me. any chance of an example that works? I feel like I'm just trying random configurations now in hope that something works. Thanks for the help. On Fri, 20 Aug 2004 14:38:35 -0400, Shapira, Yoav <[EMAIL PROTECTED]> wrote: > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
