- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
jsp环境搭建(JSP environment build)
jsp环境搭建(JSP environment build)
JSP environment configuration scheme
Scenario 1: J2SDK+Tomcat
In this scenario, Tomcat is both a JSP engine as well as a Web server, with relatively simple configuration.
1. install Tomcat
Jakarta-tomcat-4.0.1.exe, which runs directly to download, installs the Tomcat in accordance with the general Windows program installation step, which automatically searches for the location of the J2SDK when installed. For example, install to f: tomcat4.
2. configure the environment variables of Tomcat
Add a new environment variable, TOMCAT_HOME, with the variable value f: tomcat4 and add the method to the configuration method of the J2SDK environment variable.
3. test the default service
After setting up, you can run the Tomcat server. Start Tomcat with f: tomcat4, bin, startup.exe, and tomcat4 bin shutdown.exe with F. (if in the implementation of startup.exe or shutdown.exe Out of Environment Space error when prompted, select the DOS window menu in the properties, memory, conventional memory, the initial conditions by the auto to 2816 on it. )
After you start Tomcat, open your browser and enter http://localhost:8080 in the address bar (Tomcats default port is 8080). If you see the Tomcat interface in the browser, it means that Tomcat is working properly.
4. test items
Put the test.jsp you just prepared in the f:, Tomcat, webapps, examples, JSP directory, and enter in the address bar
Since Tomcat itself has the capabilities of a web server, we dont have to install Apache, and of course it can be integrated with Apache, as described below.
Scenario two: J2SDK+Apache+Tomcat
Although Tomcat can also be used as the Web server, but the static HTML is faster than Apache, and it functions as a Web server is far better than Apache, so the Apache and Tomcat integrated with Apache as the Web server, and Tomcat as a dedicated JSP engine. The configuration of this scheme is more complicated, but it can integrate Apache and Tomcat perfectly and realize powerful
您可能关注的文档
- 435-国土要闻(435-'s news).doc
- 38-通辽金煤化工有限公司(38- Tongliao gold Coal Chemical Co., Ltd.).doc
- 4招打造一个属于自己网站的品牌(The 4 trick is to build a brand belonging to your website).doc
- 4月8日红领巾小广播 广播稿(Broadcast of red scarf on April 8th).doc
- 4步,打造精干的招商团队的方法(The 4 step, to create a viable approach to attract investment team).doc
- 4级复习流程(4 grade review process).doc
- 4年来70家服装供货企业培训商八成撤离沃尔玛(4 years, 70 clothing supply enterprises, training 80%, evacuated WAL-MART).doc
- 4线法(4 wire method).doc
- 5 荆轲刺秦王(The 5 emperor and the assassin).doc
- 333《教育综合》考试大纲 - 南京师范大学724(333 comprehensive education examination outline - Nanjing Normal University, 724).doc
- java迷你dvd管理器(Java Mini DVD Manager).doc
- js防水涂料施工方案(Construction scheme of JS waterproof coating).doc
- jx公司销售队伍的设置基于数据而非经验(JX the sales team is based on data, not experience).doc
- jx3万花输出(The output of jx3 million).doc
- kconfig文件解析(Kconfig file parsing).doc
- kpi效绩管理(KPI performance management).doc
- kpmg实习小记(KPMG practice notes).doc
- ktv的注册与资金筹措(Registration and financing of KTV).doc
- kvm详解(KVM explain).doc
- kz抗震盆式橡胶支座(KZ anti shock basin type rubber bearing).doc
文档评论(0)