Re: an advice neede for use of encodeURL method...

2005-10-05 Thread Paul Singleton

jonas skrebys wrote:
Hi everyone, 
could anyone help me understand what I am doing wrong... 

I want to put a session tracking into my jsp page. I use response.encodeURL method to rewrite all url in my page : 


a href=% response.encodeURL(/appName/myJSP.jsp?parameter = + value); % 


also I think u should not have the space in

  /appName/myJSP.jsp?parameter =

Paul S.


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.10/119 - Release Date: 4/Oct/2005


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



RE: an advice neede for use of encodeURL method...

2005-09-22 Thread Peter Crowther
 From: jonas skrebys [mailto:[EMAIL PROTECTED] 
 a href=% response.encodeURL [...]
 ^
I think you're missing an '=' here?  Should be %=function();% to write
the result of function to the output.  Without that, the encoded URL
will not be written to the output stream.  View the source of the page
in your browser - I suspect the link will be a href=.

- Peter

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



RE: an advice neede for use of encodeURL method...

2005-09-22 Thread GB Developer
and minus the trailing ;

 -Original Message-
 From: Peter Crowther [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, September 22, 2005 11:01 AM
 To: Tomcat Users List
 Subject: RE: an advice neede for use of encodeURL method...
 
 
  From: jonas skrebys [mailto:[EMAIL PROTECTED]
  a href=% response.encodeURL [...]
  ^
 I think you're missing an '=' here?  Should be 
 %=function();% to write the result of function to the 


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