RE: c:reditect

2008-01-02 Thread T. Lamine Ba
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]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: c:reditect

2008-01-02 Thread Hassan Schroeder
On Jan 2, 2008 9:38 AM, T. 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.

I don't believe there's any way to send a redirect that won't result
in a GET request from the browser, meaning any additional params
/will/ be exposed in the URL.

Perhaps you could just put whatever you're trying to pass into the
session instead.

HTH,
-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]