RE: web.xml for Spring Wicket 1.5

2012-03-02 Thread Sergej Sizov
Hi,

context-param  
  param-namecontextConfigLocation/param-name  
  param-valueclasspath:context.xml/param-value
/context-param
servlet  
  servlet-namewicket/servlet-name  
 
servlet-classorg.apache.wicket.protocol.http.WicketServlet/servlet-class

  init-param
param-nameapplicationFactoryClassName/param-name
 
param-valueorg.apache.wicket.spring.SpringWebApplicationFactory/param-val
ue  
  /init-param  
  init-param
param-nameapplicationBean/param-name
param-valuewicketApplication/param-value  
  /init-param  
  load-on-startup1/load-on-startup
/servlet
servlet-mapping  
  servlet-namewicket/servlet-name  
  url-pattern/*/url-pattern
/servlet-mapping
listener  
 
listener-classorg.springframework.web.context.ContextLoaderListener/liste
ner-class
/listener


Sergej

-Original Message-
From: Douglas Ferguson [mailto:the...@gmail.com] 
Sent: Friday, March 02, 2012 4:05 PM
To: Wicket Mailing List List
Subject: web.xml for Spring  Wicket 1.5

I'm not sure the example web.xml here is complete -
https://cwiki.apache.org/WICKET/spring.html

There is no filter mapping so there is no request get sent to the wicket
servlet.

I've always used the the wicket filter and a filter mapping so I need to
figure out how to do the same with a servlet.

Douglas



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



Session for Stateless Pages (logged in user)

2012-02-21 Thread Sergej Sizov
Hi,

 

I have a web application that contains only stateless pages. I need to allow
users to register and login. So I need to store user's login in a session.

 

Could you please advise me how to start session after successful login and
make session persistent for stateless pages? 

Any links to examples would be appreciated.

 

Thanks

 

Sergej Sizov