Description: Simple JSF-based Web application development
Experimental content
Learn to create an integrated development environment under MyEclipse8.x Web application, create and Managed-Bean and JSF configuration and testing.
Experimental content and procedures
1, create a Web application, the application called test4, and add JSF support
2, the development and implementation of the model layer configuration: Create ManagedBean classes: 1) backing.loginBean class, 2) validator.userValidator class
3, the design loginBean of five attributes: username, password, uv, email, converter and generate their own get and set methods, nested class in an internal converter to convert the get method to achieve the objects to strings and strings to Convert object and add constructor with parameters in the class
4, edited userValidator class, achieve the verification of user name and password
5, create and edit Email class in the class to rewrite toString () method
6, to develop JSP pages, the exp
To Search:
File list (Check if you may need any files):
test4\.classpath
.....\.mymetadata
.....\.project
.....\.settings\.jsdtscope
.....\.........\org.eclipse.jdt.core.prefs
.....\.........\org.eclipse.wst.jsdt.ui.superType.container
.....\.........\org.eclipse.wst.jsdt.ui.superType.name
.....\.........\org.jboss.tools.jst.web.xml
.....\src\backing\Email.java
.....\...\.......\loginBean.java
.....\...\validator\userValidator.java
.....\WebRoot\add.jsp
.....\.......\failure.jsp
.....\.......\index.jsp
.....\.......\loginForm.jsp
.....\.......\META-INF\MANIFEST.MF
.....\.......\show.jsp
.....\.......\WEB-INF\.faces-config.mex
.....\.......\.......\classes\backing\Email.class
.....\.......\.......\.......\.......\loginBean$1.class
.....\.......\.......\.......\.......\loginBean.class
.....\.......\.......\.......\validator\userValidator.class
.....\.......\.......\faces-config.xml
.....\.......\.......\web.xml
.....\.......\welcome.jsp
.....\.......\WEB-INF\classes\backing
.....\.......\.......\.......\validator
.....\.......\.......\classes
.....\.......\.......\lib
.....\src\backing
.....\...\validator
.....\WebRoot\META-INF
.....\.......\WEB-INF
.....\.settings
.....\src
.....\WebRoot
test4