Hello
I have include a login.jsp in every jsp.
when the user login, then i want to redirect him (in the login-servlet) to the page where he did log in (in the login-div appears not longer the login-formular but his name).
mfg
jan
Printable View
Hello
I have include a login.jsp in every jsp.
when the user login, then i want to redirect him (in the login-servlet) to the page where he did log in (in the login-div appears not longer the login-formular but his name).
mfg
jan
one possible solution:
pass the name of the jsp as a parameter, then from your login redirect to that name
it return the url of the page where come the request.Code:request.getHeader("referer");