Come si recupera un parametro con jstl
come già facevo con jsp: request.getparameter("valore") ?
codice:<%@ page contentType="text/html" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <f:view> <html> <head><title>Complete Person Information</title></head> <body leftmargin="0" rightmargin="0" topmargin="40" bottommargin="0"> <center><h:form> <h:panelGrid width="375px" bgcolor="#e6edfd" columns="2" border="0"> <f:facet name="header"> <h:outputText value="You have entered information :"/> </f:facet> <h:outputText value="Name: " /> <f:param name="valore" value="$(param.valore)"/> <h:outputText value="#{valore}" /> <h:commandButton value="Modify" action="details" /> </h:panelGrid> </h:form></center> </body> </html> </f:view>

Rispondi quotando