userhandler.java

来自「jsf example about book manager」· Java 代码 · 共 28 行

JAVA
28
字号
package com.mycompany.expense;

import java.io.IOException;
import java.util.Map;
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

/**
 * This class contains the single method for the user preferences
 * screens for the sample expense report aplication.
 *
 * @author Hans Bergsten, Gefion Software <hans@gefionsoftware.com>
 * @version 1.0
 */
public class UserHandler {

    /**
     * This method should save the updated user profile information
     * in a real applciation. For the sample application, it just
     * returns "success".
     */
    public String updateProfile() {
	return "success";
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?