Requirements:
- Tomcat preferable zipped or tar version.
- Eclipse IDE
- Eclipse tomcat plug-in.
- Struts binary.
Configurations step by step:
- Extract tomcat to directory.
Eclipse configurations:
- Extract tomcat plugin to current directory.
- Paste the extracted contents (com.sysdeo….. Folder) to {eclipse-home}/plugin folder.
- Start eclipse (Verify the tomcat start, stop and restart buttons are appearing in toolbar).
- Click on Window -> preferences -> tomcat.
i) Select right version of tomcat.
ii) Browse upto tomcat home directory.
iii) Hit ok button.
- Enter project name as firststruts hit next button, then on next screen press finish button.
- Then control will come back to eclipse, expand the directory in eclipse project explorer, you will see the following directory structure.
- Click on project name and then click Project -> properties -> build path.
- You can see the change in project directory structure.
- Now directory structure is complete, you can add all struts helper jar into WEB-INF/lib.
- And all required tld files to WEB-INF dir.
- Bingo, You are done with initial setup.
No comments:
Post a Comment