Java Reference
In-Depth Information
In order to execute the generateReport() method in the backing bean, we need to
bind it to a JSP action. The following JSP illustrates how to do this:
<%@ page language="java" contentType="text/html; charset=UTF-8"
<%@ taglib uri="" prefix="h"%>
<%@ taglib uri="" prefix="f"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
"-//W3C//DTD HTML 4.01 Transitional//EN">
-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Generate Report</title>
<h:outputText value="Click on the link below to generate the
<h:commandLink action="generate_report"
<h:outputText value="Generate Report"/>
Search WWH ::

Custom Search