File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 806

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: 806

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