A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
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 jsp. 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
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Problems for redirect pages using servlet with parameters.
how to redirect to success page in tomcat using its lapd configuration
cookie and login
how to open the tomcat manager
How to redirect a request to another URL in Struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014