This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes How to use filters in struts 1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to use filters in struts 1.3" Watch "How to use filters in struts 1.3" New topic
Author

How to use filters in struts 1.3

chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

Hi all, I am Chaitanya, I am learning struts 1.3. I want to call a filter for every request. According to the code written, only the filter is being executed, the Action class is not being executed. Can anyone tell me what to do.
web.xmlstruts-config.xmlMyFilter.javaCan anyone tell me help me. Thank you all in advance.


Love all, trust a few, do wrong to none.
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368
Hi Chaitanya,

Can you please tell us, what happens when you click on submit button of login page ?
any exception on server console? blank page?


Thanks,
Shailesh
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

Shailesh Narkhede wrote:Hi Chaitanya,

Can you please tell us, what happens when you click on submit button of login page ?
any exception on server console? blank page?


I am not getting any exception like thing. The filter is being executed. But the Action servlet is not being executed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use filters in struts 1.3
 
Similar Threads
how the value in the form pass into Action class in Struts
How is a request handled within struts framework
servlet mapping clarification
Struts Spring Integration problem
Error while deploying struts application