Latest JSP environment configuration methods The latest JSP environment configuration method

Source: Internet
Author: User
Tags iis modify root directory tomcat
Js
screen.width-300) {this.width = screen.width-300}; "Border=0 dypop=" click to open this picture ">
After adding Filter Properties dialog box do not turn off, select the Home Directory tab click below to configure the following figure
screen.width-300) {this.width = screen.width-300}; "Border=0 dypop=" click to open this picture ">
Then pop up the Application Mapping dialog box and click Add the following image
screen.width-300) {this.width = screen.width-300}; "Border=0 dypop=" click to open this picture ">
Then pop-up Application Add dialog box as shown below
screen.width-300) {this.width = screen.width-300}; "Border=0>
The path is then browsed to the C:\tomcat5\bin\IIS\i386\isapi_redirect.dll, and the extension is added. JSP then go all the way, so we tell IIS once the JSP Web page request to the Isapi_ Redirect.dll to deal with!

Modify the default directory
By default, the JSP files are stored under the Webapps\root directory of the Tomcat directory, and because of the integration with IIS we need to change it to the location of the IIS-managed site, and below we go to the C:\tomcat5\ Conf directory to find the Server.xml file, with Notepad open he found the following code
<!--Define The default virtual host-->
Unpackwars= "true" autodeploy= "true" >

Then add the following code below
<context path= "" docbase= "D:\myWeb\" debug= "0"/>

The red part of your code is your site's physical path, you can modify it yourself!

Below you go to the C:\tomcat5\bin directory run startup This batch file can start Tomcat!

So far about JSP installation and debugging environment is completed, you can enter the next stage of learning!



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.