Wednesday 19 June 2013

Struts 1.x CURD APPLICATION

Struts 1.3
CURD OPERATION IN ECLIPSE
Conform Your Self which JRE by going to Use windows=>preferances=>java=>Installed Jre
Conform Your Self which Tomcat version by going to Use windows=>preferances=>server=>Run time Environment
1)Create  New=>Dynamic Project
2) copy all the struts 1.3 jars and past it into Your lib(WEB-INF/lib)
 3)Right click on one jar=>properties=>copy the location where your jars exist=>close window
4)Right click on project=>Build Path =>Configure Build Path=>Libraries=>Add external jar=>
paste the copied path of jars=>select all the jars
  Add all the other Jstl 1.2 jar,jstl-api1.2jar,jstl.jar,struts-el-1.3.8jar,servlet-api.jar
Click on OK
5)Please Remember the Following things
1)jar have to be placed in the lib folder
2)web.xml,struts-confing.xml,other which ends with .xml have to be placed in WEB-INF/
3)jsp,html,css,...can be placed in WebContent(out side of the WEB-INF generally)
if your want we can place in WEB-INF also but in Configuration files we need to specify path like
WEB-INF/jsp/myjsp.jsp
4)Add all the Required .TLD files in the WEB-INF
5)

1 comment: