123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- package microfolie.entry.form;
- import com.opensymphony.xwork2.ActionSupport;
- public class Inscription extends ActionSupport {
- private String nom;
- private String prenom;
- private String genre;
- public String getNom() {
- return nom;
- }
- public void setNom(String nom) {
- this.nom = nom;
- }
- public String getPrenom() {
- return prenom;
- }
- public void setPrenom(String prenom) {
- this.prenom = prenom;
- }
- public String[] getGenres() {
- return new String[] { "", "Homme", "Femme", "Autre" };
- }
- public String getGenre() {
- return genre;
- }
- public void setGenre(String genre) {
- this.genre = genre;
- }
- /**
- *
- */
- private static final long serialVersionUID = 1L;
- @Override
- public String execute() throws Exception {
- System.out.println(nom + " " + prenom);
- return SUCCESS;
- }
- public String before() throws Exception {
- return SUCCESS;
- }
- }
|