-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Hi,
On Fri, 17 Sep 1999, Sun JunXu wrote:
SJ| Hener:
'nn'
SJ| 1.how can I "provide it initially through an encodeURL()-call", is it said:
SJ| after I created a new session, first time response.redirect, should use
SJ| encodeURL() to let this new session available, then , second , third, I need
SJ| not to encodeURL() again, it calls initially, right?
Yes, after you created a session you've to use encodeRedirectURL()
together with response.redirect(). Propagating the Session through links
in SSI-pages is done automatically. However, if you provide links or do
redirects within your own servlets, you've to use the
encode*URL()-functions.
SJ| 2. can I use traditional ssi if I set ParameterPropagatingSSI? same as I set
SJ| org.apache.servlet.ssi.SSI?
yep.
SJ| now I add two line in zone.properties:
SJ| servlet.org.apache.servlet.ssi.ParameterPropagatingSSI
SJ| .initArgs=SSISiteRoot=d:/Apache/htdocs
SJ| servlet.org.apache.servlet.ssi.ParameterPropagatingSSI.initArgs=PropagatePar
SJ| ameters=JServSessionId
SJ| are they right?
looks good.
and your ApJServAction should look
ApJServAction .jhtml /servlet/org.apache.servlet.ssi.ParameterPropagatingSSI
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]