<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%--
This file is an entry point for JavaServer Faces application.
--%>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>JSP Page</title>
</head>
<body>
<h1><h:outputText value="JavaServer Faces"/></h1>
<h:commandButton id="bt_SAVE" value="Save" action="#{test.saveProcess}" />
</body>
</html>
</f:view>
<managed-bean-name>test</managed-bean-name>
<managed-bean-class>bean.test</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package bean;
/**
*
* @author subin_s
*/
public class test {
public void saveProcess() {
System.out.println("Debug inside saveProcess");
}
}
No comments:
Post a Comment