my dog learned polymorphism*
The moose likes Struts and the fly likes Validation on each Request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validation on each Request" Watch "Validation on each Request" New topic
Author

Validation on each Request

Amitt Thakkarr
Greenhorn

Joined: Apr 25, 2011
Posts: 7
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29219
    
135

The request processor or servlet. Or in a servlet filter.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validation on each Request
 
Similar Threads
confused with use of validation framework
TabIndex problem using JSF and Ajax4jsf for ajax request
problem in using validator framework with multiple screen jsps
Server Side validation and client side validation
Need a best messaging Solution