2010/1/9 smallufo small...@gmail.com
Hi all :
I'm trying to inject something to the Wicket Session by a Generic Servlet
Filter :
public class UserFilter implements Filter
{
private UserDao UserDao;
@Override
public void init(FilterConfig config) throws ServletException
{
why not simply put whatever it is into the httpsession, and then write
a getter in wicket's session that retrieves it from there? seems
simpler.
-igor
On Sat, Jan 9, 2010 at 4:07 AM, smallufo small...@gmail.com wrote:
2010/1/9 smallufo small...@gmail.com
Hi all :
I'm trying to inject
2010/1/10 Igor Vaynberg igor.vaynb...@gmail.com
why not simply put whatever it is into the httpsession, and then write
a getter in wicket's session that retrieves it from there? seems
simpler.
-igor
Thank you .
But how to get HttpSession inside Wicket's Session ?
thanks ...
Thank you , I've found the answer :
httpSession =
((ServletWebRequest)request).getHttpServletRequest().getSession();
This is a better way ...
thanks a lot.
2010/1/10 smallufo small...@gmail.com
2010/1/10 Igor Vaynberg igor.vaynb...@gmail.com
why not simply put whatever it is into the