Mar
02
|
When using DWR you sometimes need access to the servlet request or the session.
When you do you can get access to them via the DWR WebContext class as shown in the following example code.
WebContext ctx = WebContextFactory.get(); HttpServletRequest request = ctx.getHttpServletRequest();
Array ( ) 2 Responses to “Access servlet request using DWR”
Leave a Reply
You must be logged in to post a comment.
January 22nd, 2011 at 12:29 am
its really helpful
January 27th, 2011 at 6:52 pm
Its okay, but while accessing session and session attributes I am getting Session Error message in browser through Pop up. Please provide another way or solution to this problem…
Thanks & Regards,
Reddy.