aspose file tools*
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 257
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: 257
dont bother,


fyi, i did this

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