-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------


Hi,
On Fri, 17 Sep 1999, Sun JunXu wrote:
SJ| Henner:
SJ| could you help to check if it is right:
SJ|  
SJ| response.sendRedirect(response.encodeUrl("../apps/"+rs.getString("country")+
SJ| "/application.html?JServSessionId="+session.getId()));
easier:
You don't have to provide the session.getId() stuff at the end: thats
encodeUrl() is for. It appends the session automatically if it is needed
(i.e. you browser does not accept cookies).

 SJ| when I use encodeURL
yes .. its in fact encodeUrl() with small 'rl'.

ciao,
  -hen
---
Henner Zeller                                 [EMAIL PROTECTED]
 PGP pub key [77F75B39]: finger [EMAIL PROTECTED] 
 
  Microsoft is not the answer, it's the question. The answer is 'NO'



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to