Welcome![Sign In][Sign Up]
Location:
Search - loginBean

Search list

[JSP/JavaLoginBean

Description: 用户登录界面 可以输入用户名和密码登录后跳转到另一个页面-User login screen to enter a user name and password to log on to another page after the jump
Platform: | Size: 1024 | Author: num | Hits:

[JSP/Javatest4

Description: 基于JSF的简单Web应用开发 实验内容 学习在MyEclipse8.x集成开发环境下创建Web应用,创建JSF和Managed-Bean以及相关配置,并测试。 实验内容及步骤 1、创建一个Web 应用,应用名为test4,并添加JSF支持; 2、进行模型层的开发实现以及配置:创建ManagedBean类:1)backing.loginBean类,2)validator.userValidator类; 3、设计loginBean的5个属性:username、password、uv、email、converter并生成他们各自的get和set方法,在converter的get方法中嵌套一个内部转换类以实现对象到字符串和字符串到对象的转换;并在该类中添加带参数的构造方法; 4、编辑userValidator类,实现对用户名和密码的验证; 5、创建并编辑Email类,在该类中要重写toString()方法; 6、进行JSP页面的开发,本实验设计了5个JSP页面:登录页面loginForm.jsp、欢迎页面welcome.jsp、登录失败页面failure.jsp、添加邮箱页面add.jsp、显示邮箱帐号页面show.jsp; -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
Platform: | Size: 12288 | Author: 杨平 | Hits:

CodeBus www.codebus.net