File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Interview Guide this week in the Jobs Discussion 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: 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/"
{, servletResponse);
I agree. Here's the link:
subject: filter and struts
It's not a secret anymore!