aspose file tools
The moose likes Struts and the fly likes Request object in convertor class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Request object in convertor class
 
Similar Threads
Currency Convertor
EJB injection doesn't work in JSF Convertor
any hints for creating &/or using existing UNICODE convertor/processor?
XML convertor
.ra to .mp3 convertor