This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Validation on each Request

 
Amitt Thakkarr
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

If we need to implement common validation(like validate the ROLE of user or credentials of user) on each request, where we should place such code in Struts.

Thanks,
Amit
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The request processor or servlet. Or in a servlet filter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic