adspace
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
Answer Posted / Naresh Kumar
In Struts2, you can obtain Servlet API objects through Action Support Superclass, by using the getServletRequest(), getServletResponse(), and getHttpSession() methods.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers