tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kenneth.baltz" <kenneth.ba...@inforonics.com>
Subject RE: tranmsit complete request
Date Fri, 14 Apr 2000 13:19:13 GMT
I think you want 
href = "login.jsp?origin=" + URLEncoder.encode(
"(myCurrentPage.jsp?myCurrentQueryString)" );

The decoding should be done by request.getParameter();

K.C.

> -----Original Message-----
> From: Guillaume Rousse [mailto:Guillaume.Rousse@univ-reunion.fr]
> Sent: Friday, April 14, 2000 9:15 AM
> To: tomcat-user@jakarta.apache.org
> Subject: tranmsit complete request
> 
> 
> Hi.
> I'm using a login page, to which i redirect request while 
> keeping trace of
> original one: href="login.jsp?origin=myCurrentPage.jsp"
> But how to do when the original request has a query string 
> itself, so as to
> transmit something like
> href="login.jsp?origin=(myCurrentPage.jsp?myCurrentQueryString)" ?
> I guess i have to escape the second ? symbol, but i don't 
> knwo how to do it,
> neither how to redecode it after.
> Any solution ?
> 
>  -- 
> Guillaume Rousse
> 
> Iremia - Université de la Réunion
> 15 avenue René Cassin, BP 7151
> 97715 Saint Denis, messagerie cedex 9
> Tel:0262938330 Fax:0262938260 ICQ:10756815
> 
> And now, some words for our sponsor :
> Explosives, guns, assassination, conspiracy, primers, 
> detonators, Kakadan,
> initiators, main charge, nuclear charges, ambush, sniping, 
> motorcade, IRS,
> ETA, FARC, Cuba, Castro, Che Guevara, revolution, ATTAC, 
> BATF, jtf-6...
> 
> 
> --------------------------------------------------------------
> ------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 

Mime
View raw message