| Author |
Access to HttpServlet inside the Action class.
|
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
Hi ,
what is the use of getting access to HttpServletRequest and using request.getParameter("attributename") inside the Action class of struts2 as all the data is passed through setters and geters only .
|
Save India From Corruption - Anna Hazare.
|
 |
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9189
|
|
|
What if you want request headers or want to know the client IP address, you'll need the request object for that...
|
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
|
 |
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
I did not thought of that ones
Thank you
|
 |
 |
|
|
subject: Access to HttpServlet inside the Action class.
|
|
|