This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Request object in convertor class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Request object in convertor class" Watch "Request object in convertor class" New topic

Request object in convertor class

Anu Bagga

Joined: Jun 12, 2008
Posts: 3
Hi again

Please help me to get a request object in my convertor class as i need to make some validations based on the jsps flags.

sunil gupta

Joined: May 07, 2008
Posts: 21
you have to use

import org.apache.struts2.interceptor.ServletRequestAware;
private HttpServletRequest request;
public void setServletRequest(HttpServletRequest httpServletRequest) {
this.request = httpServletRequest;
wood burning stoves
subject: Request object in convertor class
Similar Threads
XML convertor
Currency Convertor
.ra to .mp3 convertor
EJB injection doesn't work in JSF Convertor
any hints for creating &/or using existing UNICODE convertor/processor?