You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by mohamed ebrahim faisal <eb...@hotmail.com> on 2003/10/18 18:53:05 UTC

Message Encoding

Hi

  consider the following situation.  I am using window object to open 
another struts file ie, .do file like the following

    
window.open("./cust.do?name="+somename+"&address="+someaddress+"........);

here i am passing property information also through the request query 
string. Those data "name" & "address" are visible in the querystring . My 
question is there a way to encode the data or else someother technique so 
that the end user does not view the actual data.

Thanks
E.FAISAL

_________________________________________________________________
Access Hotmail from your mobile now. 
http://server1.msn.co.in/sp03/mobilesms/ Click here.


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


Re: Message Encoding

Posted by Martin Gainty <mg...@hotmail.com>.
Stuff the parameters into Hidden variables OR session variables ..
call the window.open(

In the html file you are opening
<body onLoad="getVariables()">
where getVariables() is a Jacascript function which retrieves the
aforementioned variables.
-M
----- Original Message ----- 
From: "mohamed ebrahim faisal" <eb...@hotmail.com>
To: <st...@jakarta.apache.org>
Sent: Saturday, October 18, 2003 12:53 PM
Subject: Message Encoding


>
> Hi
>
>   consider the following situation.  I am using window object to open
> another struts file ie, .do file like the following
>
>
> window.open("./cust.do?name="+somename+"&address="+someaddress+"........);
>
> here i am passing property information also through the request query
> string. Those data "name" & "address" are visible in the querystring . My
> question is there a way to encode the data or else someother technique so
> that the end user does not view the actual data.
>
> Thanks
> E.FAISAL
>
> _________________________________________________________________
> Access Hotmail from your mobile now.
> http://server1.msn.co.in/sp03/mobilesms/ Click here.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

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