A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Problems for redirect pages using servlet with parameters.
Joined: Jun 15, 2011
Dec 14, 2012 19:47:43
I'm using a
as controller for redirect pages. The user login with a form that will be redirect for a
. Within in this jsp, there are several menu that is controlled with servlet parameters.
The user login in page, so, the url in browser is so:
(Here page Home).
There are several menus: Home - Services - Contact.
When the user to click in Services, the servet will redirect for a jsp. So, the url is so:
If the user wish return the page Home. The url is so:
How to fix that ?
Author and ninkuma
Joined: Jan 10, 2002
Dec 14, 2012 21:55:23
A) Why do you do you care what the URL is?
B) Why are you redirecting rather than forwarding?
Asking smart questions
Books by Bear
subject: Problems for redirect pages using servlet with parameters.
How to redirect a request to another URL in Struts
cookie and login
how to redirect to success page in tomcat using its lapd configuration
how to open the tomcat manager
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014