"White, Joshua A (HTSC, CASD)" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill, > > Is this a server.xml or web.xml option? Where should I be looking? If > tomcat does a redirect to http://localhost:8080/myapp/, should I then see > this in the browser?
Yes, you should. Since you haven't told me which version of Tomcat you are using, I'm going to assume 4.1.x. If you have your Context configured as: <Context path="/myapp" docBase="/myapp" .... /> then Tomcat should decide that a request for http://localhost:8008/myapp is really a request for http://localhost:8080/myapp/ and redirect you there. If this isn't working, then you can submit a bugreport to http://nagoya.apache.org/bugzilla. However, you are going to have to provide more information about your config then you have done so far if you want a developer to take a look at your problem. > > Joshua > > > > -----Original Message----- > From: Bill Barker [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 08, 2003 11:48 PM > To: [EMAIL PROTECTED] > Subject: Re: Relative URL problem > > > It would help to know your config. e.g. Both Apache and Tomcat will respond > to a request for http://localhost:8080/myapp by sending a redirect to > http://localhost:8080/myapp/ . > > "White, Joshua A (HTSC, CASD)" <[EMAIL PROTECTED]> wrote in > message > news:[EMAIL PROTECTED] > > I currently server my jsp files from under the web-inf/jsp directory. > > > > If I call my application using http://localhost:8080/myapp, my images do > not > > appear at all. If I call my application using > http://localhost:8080/myapp/ > > (note the trailing slash) everything works fine. Subsequent calls to > other > > resources contain the slash (for example > > http://localhost:8080/myapp/myservlet). > > > > Any advice for handling relative urls on my default page? > > > > Regards, > > > > Joshua > > > > > > > > > > > > This communication, including attachments, is for the exclusive use of > > addressee and may contain proprietary, confidential or privileged > > information. If you are not the intended recipient, any use, copying, > > disclosure, dissemination or distribution is strictly prohibited. If > > you are not the intended recipient, please notify the sender > > immediately by return email and delete this communication and destroy all > copies. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
