FileDocCategorySizeDatePackage
Example4ShowPanelAction.javaAPI DocApache Struts 2.0.9 Apps2240Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase.ajax

Example4ShowPanelAction

public class Example4ShowPanelAction extends com.opensymphony.xwork2.ActionSupport
version
$Date: 2006-11-06 10:01:43 -0500 (Mon, 06 Nov 2006) $ $Id: Example4ShowPanelAction.java 471756 2006-11-06 15:01:43Z husted $

Fields Summary
private String
name
private String
gender
private static final long
serialVersionUID
Constructors Summary
Methods Summary
public java.lang.StringgetGender()

        return gender;
    
public java.lang.StringgetName()

        return name;
    
public java.lang.StringgetTodayDate()

        SimpleDateFormat sdf = new SimpleDateFormat("dd-MMMM-yyyy");
        return sdf.format(new Date());
    
public java.lang.StringgetTodayTime()

        SimpleDateFormat sdf = new SimpleDateFormat("kk:mm:ss");
        return sdf.format(new Date());
    
public java.lang.Stringpanel1()


         
        return SUCCESS;
    
public java.lang.Stringpanel2()

        return SUCCESS;
    
public java.lang.Stringpanel3()

        return SUCCESS;
    
public voidsetGender(java.lang.String gender)

        this.gender = gender;
    
public voidsetName(java.lang.String name)

        this.name = name;