Work Flow of Struts1 framework

User submits the request having data from login.jsp form. Through the web.xml ActionServlet traps the request. ActionServlet uses struts-config.xml file entries to decide appropriate action class and FormBean class to process the request. Forward Software create form beans class object and populates received form data to form bean class object. Forward create Action class object. … Read more

Steps to Develop a Program

Following are the steps to develop a struts1 bases programs Gather and define the application requirement. Define and developed each screen requirement in terms of the data collected and displayed. Determine all the access path for each screen. Determine the ActionMapping that correlate to the application business logic. Create the ActionForms with depend properties from … Read more

Struts1 first program Login Example

login.jsp

web.xml

Struts-config.xml

LoginAction.java

LoginForm.java

success.jsp

fail.jsp

Introduction of struts1

Struts is a framework software to develop mvc base web application having the capability to generate integration logic of controller servlet dynamically.This make programmers only concentrate on view layer-presentation logic and Model layer Business logic. Vendors :Apache foundation Version:struts 1.2.x Based on servlet api-2.4,jsp api2.0 Author:crag Mcchallan Installing: installing struts s/w is nothing but downloading … Read more