cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Koch <k...@pixelpark.com>
Subject Re: How to match jsessionid?
Date Mon, 22 Jul 2002 16:53:31 GMT
Piroumian Konstantin wrote:
>>>Ah! It should be that servlet container simply strips out 
>>the session Id and
>>>provides a clear URL. In this case you should use an action 
>>to get the
>>>session Id from request and use a matcher like: "foo.*".
>>
>>How is this done?
> 
> 
> Take a look at other Session* actions in org.apache.cocoon.acting.* package.
> You should do something like this in your act() method:
> 
> Map map = new HashMap(1);
> map.put("jsessionid",
> ObjectModelHelper.getRequest(objectModel).getSession().getId());
> return map;

So, it's not possible only with sitemap things and existing Java code, 
is it?
-- 
Johannes Koch  . IT Developer
Pixelpark AG   . http://www.pixelpark.com
Rotherstra├če 8 . 10245 Berlin  .  Germany
phone: +49 30 5058 - 1288  .  fax: - 1355


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message