Piroumian Konstantin wrote:
>>From: Johannes Koch [mailto:[EMAIL PROTECTED]] 
>>Piroumian Konstantin wrote:
>>
>>>>From: Johannes Koch [mailto:[EMAIL PROTECTED]] 
>>>>
>>>>Hi,
>>>>
>>>>I have URLs like this:
>>>>'foo.do;jsessionid=abcdefg?bar=blah'
>>>>
>>>>When I try to match it with the wildcard matcher
>>>><map:match pattern="foo*">
>>>>  ...
>>>></map:match>
>>>>{1} is only '.do'. How can I match the jsessionid part?
>>>
>>>
>>>Try this: <map:match pattern="foo.*;jsessionid=*"> and use {2}.
>>
>>I already tried this. But, unfortunately, the URL is not 
>>matched by this 
>>pattern. :-(
> 
> 
> 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?
-- 
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to