This video introduces the ActionSupport class and one of the features of the class, validation. We'll look at the validate() method and how we can implement simple form validations in Struts 2. Struts 2 Tutorial 13 – The ActionSupport Class
In Struts 2, you’ll spend most of your time working with actions. The action class contains business logic, retrieve resource bundle, hold the data, validation, and select the view result page that should send back to the user. It’s the heart of the S
package org.o7planning.tutorial.struts2xml.action; import com.opensymphony.xwork2.ActionSupport; public class UserInfoAction extends ActionSupport { private static final long serialVersionUID = 7299264265184515893L; @Override public String execute() { ret
Post a Comment:
Showing 0 Comments: