「Java」getRequest()とgetSession()の書き方

サンプルコード
public HttpServletRequest getRequest()
{
return ServletActionContext.getRequest();
}

public HttpSession getSession()
{
return ServletActionContext.getRequest().getSession();
}

Java

Posted by arkgame