RE: c:reditect

"T. Lamine Ba" <[email protected]> Wed, 2 Jan 2008 16:38:41 -0000
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
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:[email protected]] 
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 <[email protected]> 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 ------------------------ [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]