Wednesday, January 8, 2014

ATG FormHandler - Create a New FormHandler

Form Handler Introduction :

Form handlers are specialized Nucleus components that can be embedded in our JSPs to do form validation and based on the results do certain actions like inserting into database, forwarding the user to some other JSP page etc. Form Handlers is based on  “Service to Workers” (push based) approach of MVC2 design pattern.





Step 1 : Create a Form Handler java class for example "LoginFormHandler"

LoginFormHandler.java


Step 2 : Create a properties file for LoginFormHandler class


Step 3 : Access in Login JSP

No comments:

Post a Comment