RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Friday, June 1, 2012
Wicket: Access Servlet Session & Page Redirection
Access Servlet Session
This is sometimes necessary when Wicket pages need to co-exist with servlet based ones.
((WebRequest)getRequest()).getHttpServle
tRequest().getSession();
Page Redirection
getRequestCycle().setRequestTarget(new RedirectRequestTarget("home.jsp"));
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment