On 02/08/2011 10:10, Chema wrote: > Hi: > > I've got Tomcat 7.0.16 and I'm using realm > authentication/authorization mechanism , via FORM method. > > I'd like to store in user session the URL accessed and forwarded to > realm authentication.
Tomcat does this automatically. > An example of URL could be > > http://localhost:8080/myapp/protected/file.properties > > I try to configure my web.xml to invoke a servlet before returns login page. Why? What problem are you trying to solve? > <form-login-config> > <form-login-page>/login</form-login-page> > <form-error-page>/error</form-error-page> > </form-login-config> > > Also, I try to configure filters. Again, what problem are you trying to solve? > But i don't know where to find the original URL > > Any solution ? That depends on what the problem is. Mark > > > Thanks and regards > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org