How to Create a JSP site in Dreamweaver

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.