3
, open the software, everyone select "Site" in the "new site"
。
4
, fill in the content to fill in.
Site name: Can be casually up, just used to differentiate the site. Because, you can build multiple sites.
Local root folder: Places files such as Web pages and footage that you create later.
Default image folder: Built within the local root folder, the default name is
Images
, place the picture.
Other default.
5
, focusing on this step, in
Dreamweaver
After editing the
Jsp
Page, press
F12
Automatically open the page to see the effect,
Dreamweaver
The settings in this step.
Select "Test Server"
, to set it up.
Test server folder:
Select the previously unzipped
【
Apache-tomcat-7.0.27-windows-x86.zip
】
After the software
Folder in the
WebApps
"folder, create project folder"
Abcname
】
。
Like what:
【
F:\Program files\apache-tomcat-7.0.27\webapps\abcname\
】
Url
Prefix: This is also key, fill in as "
http://localhost:8080/abcName/
】
, the path is used to press the
F12
Automatically after opening the browser, automatically fill in the path.
Four, test.
1
New
Jsp
Page.
2
, save file as "
index.jsp
】
, and the storage location is the project folder. such as
D:\
Student Information Management System "
3
In
Jsp
page, and then save the content. such as
Hello!
It's mine
Jsp
Dynamic page!
】
4
, open the server, that is, run
Tomcat
Under Installation path,
【
Bin
"In the folder"
Startup.bat
File
Dreamweaver connects Tomcat for editing and testing JSPs