Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use filters in struts 1.3

 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic