Struts development using Eclipse
Yang Hengxian (yanghx@70345.com)
First introduce the development environment:
Eclipse2.1.1
http://www.eclipse.org/
JDK1.4
http://java.sun.com/
Tomcat
http://java.apache.org/
Related Eclipse's plugin
Easy Struts
http://sourceforge.net/projects/easystruts
XML Buddy
http://www.xmlbuddy.com/
Lomboz.21
http://sourceforge.net/projects/lomboz
Configure Easy Struts (I am struts1.02 as an example)
When you use struts1.0 to develop a framework, download the struts1.0 package and add Struts.jar to join the * .tld below it.
XMLBuddy does not configure and use the default settings.
Lomboz settings:
1. Configure the server, we use Tomcat4.1 series servers
If you use other servers, please select the corresponding "Server Types", after matching the server, "ClassPath" page automatically matches
2. Configure JDK path
Now we start to develop with Eclipse.
We use the land interface to show how to develop with the MVC architecture.
"New" -> Lomboz J2EE Project.
Now we have newly created a project, and we will convert him to the Struts architecture.