Skip to main content

Posts

Showing posts from February 28, 2012

Creating a Simple Login Application with Struts

  In this chapter, we have create a very simple Login application, user can be login( provide own detail) which store into JavaBean Class and retrieve into another file. For each piece of the application, we show you the code and then explain the code. This application design in   NetBeans IDE- 6.8   with   Struts 1.3 . Requirement  for your struts application - At least one view component is required in every Application. A subclass of ActionForm is used to submit the date as application needed. A subclass of Action class which provide specific processing functionality for the application . A web.xml file is required for calling ActionServlet and struts-config.xml. A struts-config.xml file is required for updating and mapping the update. Now, Following the following steps for develop your second application name as strutsLogin. strutsLogin application contain following page- Four View file name as index.jsp, welcomeStruts.jsp, LoginForm.jsp and success.jsp One