Package com.fly.common.util

Examples of com.fly.common.util.SessionHelper


  private Saver saver;
 
 
  public String execute() throws Exception{
      setMessage("hello"+getUsername());
      SessionHelper sh = new SessionHelper(this.session);
      sh.put("hi", "hiiii");     
      city = "hangzhou ";
      userA.setUserName("userName");
      userA.setPassWord("passWord");
      ActionContext.getContext().getSession().put("msg", "session.msg hahaha");
      HttpServletRequest request = ServletActionContext.getRequest();
View Full Code Here


    this.password = password;
  }
  public String execute() throws Exception{
    if (getUsername().equals("fourcoder")&& getPassword().equals("tiger") ){
     
      SessionHelper sh = new SessionHelper(this.session);
     
      if(sh.get("name")==null){
        sh.put("name", "hengheng");
       
        return SUCCESS;
      }
      return ERROR;
View Full Code Here

TOP

Related Classes of com.fly.common.util.SessionHelper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.