RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Jeff Tulley
age- From: Alan Weissman [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 2:54 PM To: 'Tomcat Users List' Subject: RE: ServletRequest's path elements not updated by calls to getRequestDispatcher() Ok, so what was said about using img src="/foo.gif" theo

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Shapira, Yoav
Howdy, >All I want to do is do what apple does if you go to >www.apple.com/ipodmini or www.apple.com/ipodmini/ you get the same page. >This shouldn't be that hard, but whats the best way to do it? Going to apple.com/ipodmini leaves the URL as-is, I just tried it, so I'm not sure what you mean.

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Alan Weissman
, 2004 2:42 PM To: Tomcat Users List Subject: RE: ServletRequest's path elements not updated by calls to getRequestDispatcher() Howdy, >No, if you use img="/foo.gif" >then '/' ALWAYS indicates to the browser to request it from the domain >root. Yeah, but you don

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Shapira, Yoav
Howdy, >No, if you use img="/foo.gif" >then '/' ALWAYS indicates to the browser to request it from the domain >root. Yeah, but you don't want to do that because what if the context path changes? A relative link would be better, and it's good that the original poster is already trying to do that

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Mike Curwen
ng rewriting the defaultServlet at this point. > > Thanks again, > Alan > > -Original Message- > From: Mike Curwen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 21, 2004 2:19 PM > To: 'Tomcat Users List' > Subject: RE: ServletRequest's path e

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Alan Weissman
PM To: 'Tomcat Users List' Subject: RE: ServletRequest's path elements not updated by calls to getRequestDispatcher() That's the request dispatcher. Images and CSS are all 'called' from the client and have nothing to do with the dispatcher. If you type in http://

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Mike Curwen
quot;img=/foo.gif" > -Original Message- > From: Alan Weissman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 21, 2004 1:11 PM > To: Tomcat Users List > Subject: ServletRequest's path elements not updated by calls > to getRequestDispatcher() > >

ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Alan Weissman
Hi Everyone - I have a requirement to allow for URLs on a site of the format www.site.com/target where 'target' is not a real directory or servlet, but redirects to another page on the site. To handle this, I have developed a ServletFilter which takes the 'target' off the URL and attempts to do