aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Request object in convertor class" Watch "Request object in convertor class" New topic
Author

Request object in convertor class

Anu Bagga
Greenhorn

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.

regards
anu
sunil gupta
Greenhorn

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;
}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Request object in convertor class