Hi, namesake :) 


Already tried that, no result. 


Best, 


Martin 


----- Цитат от Martin Grigorov (mgrigo...@apache.org), на
20.08.2011 в 12:09 -----   Try with url-mapping: /friends/* both for the
session filter and the servlet


On Sat, Aug 20, 2011 at 12:03 PM,  wrote:
   Hello, guys,


I experience a strange problem with trying to provide a custom servlet with
the wicket session.


Here is my web.xml conf:


 wicketFilter
 org.apache.wicket.protocol.http.WicketFilter


 applicationClassName
 com.company.apps.appname.WebApp


 filterPath
 /


 wicketFilter
 /*


 wicketSessionFilter
 org.apache.wicket.protocol.http.servlet.WicketSessionFilter


 filterName
 wicketFilter


 wicketSessionFilter
 /friends
 REQUEST
 INCLUDE


 friendsManager
 com.company.apps.appname.servlet.FriendsManagerServlet


 friendsManager
 /friends


The exception "java.lang.IllegalStateException: you can only locate or
create sessions in the context of a request cycle" is being thrown by the
'friends' servlet.


Everything seems to be configured properly; however I get this error. I'm
using wicket 1.4.17.


I would appreciate any help.


Thank you and regards,
Martin


-------------------------------------


Видя ли лятната промоция на
СуперХостинг?
Дават цели ДВЕ години, като плащаш само
ЕДНА!
Истина е, провери!
 
http://www.superhosting.bg/SummerHostingPromo/?utm_source=MailBG&utm_medium=FooterLink&utm_content=SummerPromo123&utm_campaign=SummerPromo
  


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


 

-------------------------------------

Виж какво открих...
Поръчваш си ЕДНА - получаваш цели ДВЕ, като втората е бонус!
 
http://www.superhosting.bg/SummerHostingPromo/?utm_source=MailBG&utm_medium=FooterLink&utm_content=SummerPromo124&utm_campaign=SummerPromo

Reply via email to