wood burning stoves 2.0
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 REST with Spring (video course) this week in the Spring 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;
I agree. Here's the link: http://aspose.com/file-tools
subject: Request object in convertor class
It's not a secret anymore!