Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about Struts processPreprocess method

 
ganesh.udt kumar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi java folks,
Help me to know the use of overriding processPreprocess() method .What is the usual scenario that will make me to use this method . Can I use this for client validation, so that the request need not travel to Action class to find out that the user is not valid? Can I access DB from processPreprocess method.
thanks
ganesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic