Apache Struts is an open-source framework for developing J2EE web applications. It uses and extends the Java Servlet API to encourage developers to adopt an MVC architecture. It was originally created by Craig McClanahan and donated to the Apache Foundation in May, 2000. This article will explain how to develop login form in struts. Struts adopts an MVC architecture. Model Part of Login form Example:Model is basically data of you application. A collection of Java beans and other helper classes that you use for your applicationIn Login Form Example ,the following classes will be used-- Action class ActionForm class Action Class:The action class is the link between the Struts framework and your business application logic. The purpose of Action Class is to translate the HttpServletRequest to the business logic.In this example our Action class is LoginAction.java. this Action class only forwards the login.jsp. Our Action class returns the ActionForward called "loginAction&...
Content suppressed by ://URLFAN, for full article visit source