Wouldnt it be possible to write a Filter to detect requests to the "home page" and internally redirect/rewrite the request to whatever Servlet or resource required?
----- Original Message ----- From: "Bill Barker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 07, 2003 4:42 AM Subject: Re: Servlet front page without redirect - Tomcat 4.1 with mod_rewrite and mod_jk2 > This can be done for: > 1) TC 3.3.2-dev with a non-default setting. > 2) TC 5.0.9+ with default settings. > > You can't currently do this on any 4.x version. > > "A. Zazula" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Okay, I'm trying to solve my problem by using mod_rewrite with mod_jk2 > > now. I've spent several days on this problem to date and I'm more than > > a little frustrated. > > > > When the user types "http://mysight.org" I want the page they get to > > be generated by a servlet but without a redirect. So they won't be > > redirected to http://mysight.org/index.jsp or something. When their > > browser location bar sees "http://mysight.org" they'll be looking at a > > page generated by a java servlet. > > > > This can be obviously done with Perl (slashdot.org is proof---you > > aren't redirected to slashdot.org/index.pl) and it can probably be > > done with every other non-Java language. Can it be done with a Java > > servlet? Is the combination of Apache 2.0.47, Tomcat 4.1.27, mod_jk2, > > and mod_rewrite powerful enough to be able to accomplish this > > extraordinary technical feat or do I have to switch to Perl because > > that community obviously figured it out? > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site design software > > http://sitebuilder.yahoo.com > > > > > --------------------------------------------------------------------- > 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]
