1. First make sure you have installed Apache Tomcat. Tomcat 6.0 for the http://www.duote.com/soft/10004.html
2. Create a folder myweb under the webapp folder of Tomcat (any name is used to store website content ). And create a folder WEB-INF under myweb, put web. XML, Web. XML content is:
<? XML version = "1.0" encoding = "ISO-8859-1"?>
<Web-app xmlns = "http://java.sun.com/xml/ns/j2ee"
Xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"
Xsi: schemalocation = "http://java.sun.com/xml/ns/j2eehttp://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
Version = "2.4">
<Display-Name> welcome Tomcat + Dreamweaver test </display-Name>
<Description>
Welcome to Tomcat + Dreamweaver
</Description>
</Web-app>
3. In Dreamweaver, click site-> Manage sites, enter the site name, click Next, and select YES, I want use a server technology (JSP ). Where on your computer do you want to store your files? Enter * \ Tomcat 6.0 \ webapps \ myweb \ (* indicates your path ). Click "Next", where Folder .....? Enter the same path as above. In what URL wocould you, to browse to the root of your file? Enter http: // localhost: 8080/myweb.
After completing the above steps, we have built the system.