Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos

Creatting and Deploying Struts in Web Application Server






Steps

:-


1) Create a Web Module project.



2) Next go to project Java Build Path and add the
neccessary jar files (from the lib folder)



Add all the jar files from Lib folder
From(Struts – Home)Dir:/lib




3) Then create a Struts-config.xml file



Project_name/WEB-INF/…



4) Add the necessary tag libraries to the WEB-INF folder which are needed for the project



Project_name/WEB-INF/…



5) Then create ActionServet and Action Class files under the Source folder



Project_name/Source/….



6) Now create .JSP files under the Webcontent folder



Project_name/webcontent/….



7) Modify the Web.xml files (configuring the struts-config.xml to the application



😎 Create a WAR File



9) Next create a Enterprise Application Project add the Web module Project



10) Create a EAR File



11) Run the Application





Creating a Web Module project.










Next go to project Java Build Path and add the following jar files







Add the necessary tag libraries to the WEB-INF folder which are needed for the project







Then create ActionServet and Action Class files under the Source folder




LoginAction.Java








LogoutAction.Java







ViewsecretAction.Java
















Now Create a EAR File and Run the Application


























1 Comment