As far as I know - you cannot do this while using the default container-based form authentication. Tomcat's form authenticator stores the original request, and then redirects to it once the user is authenticated. In other words, you'd have to override tomcat's default behavior. (This is the same kind of problem I've been having...)
If you need to do that, you might have to subclass FormAuthenticator. However, I'm not sure how to tell Tomcat to use your class... Maybe someone else knows? -Jason On Friday, April 5, 2002, at 10:44 AM, Timothy Fisher wrote: > Can someone tell me how to accomplish the following: > > I am using form-based authentication. > > Lets assume the following files exist: > - login.html > - home.html > - page1.html > > Both home.html and page1.html are protected so the > user is redirected to the login page if trying to > access those. > > Now after a successful form-based login, I want the > user to ALWAYS be routed to the home.html page, not > necessarily the page he was implicitly trying to > access. > > For example if he trys to access page1.html, he will > be redirected to login.html. Upon successful > authentication, I want him to be redirected to > home.html. > > I know this can be done. Just dont remember how. > > > Sincerely, > Timothy Fisher > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Tax Center - online filing with TurboTax > http://taxes.yahoo.com/ > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
