Well, cool idea but there's still a problem: I mean...The requestDispatcher *does* redirect to the right page *BUT* all my relative links are broken. So, I tried mapping the forward servlet to the path "/test" instead of just "/" and sure enough *that* url worked ... relative paths just fine. So even though mapping to "/" did get the page to call correctly, nothing in that page resolved correctly. Somehow its context was off I guess. Do you know of some alternative syntax to "/" that could be specified to indicate the root of the domain? I tried everything I could think of and nothing else worked (e.g. "", "/*", "*", "*/", etc).
Thanks. Neal -----Original Message----- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 2:54 PM To: Tomcat Users List Subject: RE: auto-redirect to default page - undesired You could map a servlet or jsp to the path / that dispatches the request using RequestDispatcher.forward("/path_to_somewhere" to what ever place you want, then remove the welcome-files from web.xml, if you don't want that functionality. I think that might work for you. Hope it helps [EMAIL PROTECTED] > -----Original Message----- > From: neal [mailto:[EMAIL PROTECTED]] > Sent: 18. nóvember 2002 20:53 > To: Tomcat Users List > Subject: auto-redirect to default page - undesired > > > Tomcat appears to auto-redirect to the default page rather > than leaving the url of the default url (www.mysite.com) > while displaying the default page. In otherwords, if the url (www.mysite.com) is requested, the url is actually redirected (the url of the window will change) to www.mysite.com/index.jsp. This presumes use of tomcat as standalone. >From what I have been reading this can have adverse effects on search engine placement and is thus not a desired effect. Does anyone know how to configure tomcat to behave as most other web servers and *not* redirect the user? I think the difference here may be to forward the user versus redirecting them. Thanks. Neal -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>