tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T. Lamine Ba" <lamin...@hotmail.com>
Subject RE: c:reditect
Date Wed, 02 Jan 2008 16:38:41 GMT
I am using the mvc model.  The problem with <jsp:forward> is that the URL is
preserved and might display my filenames in the control space.

For example:
	1. /index.jsp submits parameters to /control/doSignup.jsp
	2. /control/doSignup.jsp validates and records parameters
	3. /control/doSignup.jsp forwards back to index.jsp
	4. /index.jsp has the url /control/doSignup.jsp which is
inacceptable

Lamine

-----Message d'origine-----
De : Hassan Schroeder [mailto:hassan.schroeder@gmail.com] 
Envoyé : Tuesday, January 01, 2008 3:26 PM
À : Tag Libraries Users List
Objet : Re: c:reditect

On Jan 1, 2008 4:41 AM, Thierno Lamine Ba <lamine75@hotmail.com> wrote:

> I am looking for an alternative to the taglib c:redirect.  I would like to
use a library that can execute a redirection from one page to another while
passing custom parameters (c:param) without exposing these latter on the
url; such as the Form Submit procedure.

Why can't you just use a standard <jsp:forward/> ?

Or is an actual 302 redirect required?

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message