Creating the Reponse page for Registration Application

text zoom

We are now at the point of creating the response page. The response.jsp page is created which will display all the values coming from the form. So the code of the registration page is as follows:-










<%@page contentType="text/html"%>
<%@page
pageEncoding="UTF-8"%>


<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>


<h3>The following values have been entered by the user.


<f:view>
<p align="center">
  Name is :-<h:outputText value="#{RegistrationBean.name}"/><br/>
  Password is :-<h:outputText value="#{RegistrationBean.password}"/><br/>
  Description is :-<h:outputText value="#{RegistrationBean.description}"/><br/>
</p>
</f:view>




Output:-


The following screen is displayed when the registration form is submitted.




 

                    

Copyright © 2010 VisualBuilder. All rights reserved