RE: c:reditect

2008-01-05 Thread T. Lamine Ba
Thx for your suggestions guys.
I will study the URL rewrite alternative.  Session variables are indeed a
good way to avoid parameters, in particular the ones that are passed
frequently in various pages.

Cheers.
Lamine

-Message d'origine-
De : Isabelle Phan [mailto:[EMAIL PROTECTED] 
Envoyé : Thursday, January 03, 2008 9:37 AM
À : Tag Libraries Users List
Objet : Re: c:reditect



Hassan Schroeder wrote:
 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.

or perhaps use URL rewrite, e.g. http://tuckey.org/urlrewrite/ ?

-- 
Isabelle Phan, D.Phil.
Swiss Institute of Bioinformatics Tel: (+41 22) 379 51 89
CMU - 1, rue Michel ServetFax: (+41 22) 379 58 58
CH - 1211 Geneva 4 Switzerlandemail: [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-03 Thread Isabelle Phan



Hassan Schroeder wrote:

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.


or perhaps use URL rewrite, e.g. http://tuckey.org/urlrewrite/ ?

--
Isabelle Phan, D.Phil.
Swiss Institute of Bioinformatics Tel: (+41 22) 379 51 89
CMU - 1, rue Michel ServetFax: (+41 22) 379 58 58
CH - 1211 Geneva 4 Switzerlandemail: [EMAIL PROTECTED]

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



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]



c:reditect

2008-01-01 Thread Thierno Lamine Ba

Happy New Year to all you Taglib enthousiasts,

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.

Any tip is appreciated.

Lamine

_
Get the power of Windows + Web with the new Windows Live.
http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_122007

Re: c:reditect

2008-01-01 Thread Hassan Schroeder
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]