wood burning stoves 2.0*
The moose likes Struts and the fly likes filter and struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "filter and struts" Watch "filter and struts" New topic

filter and struts

Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 258
Im trying to implement a filter, which when a certain condition is satisfied, the filter forwards the control to another jsp/action than it was originally destined for.

I have put a dummy filter in and it works. I dont know how to call this jsp/action from here.

So the question is how do i call the new action from the filter.
Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 258
dont bother,


fyi, i did this

if(condition is satisfied){
string path = httpRequest.getContextPath() + "/module/default.do"
chain.do(servletRequest, servletResponse);
I agree. Here's the link: http://aspose.com/file-tools
subject: filter and struts
Similar Threads
Do I have to choose only one view solution in Struts2?
container managed security and tiles
url-pattern in filter mapping in struts2
calling a action class method from JSP in struts
problem while giving a url pattern in filter mapping