当前位置: 技术问答>java相关
如何完全配置好jsp的开发环境?
来源: 互联网 发布时间:2015-08-12
本文导语: 本人刚开始接触jsp,发现配置环境不简单,特别是要马上用来进行实际开发,好些服务器及其他配置,设置问题我都不太明白,感谢大家指教!! | (1) Install JDK (FROM: USBsoftwareJavaj2sdk-1_3_1_01-win.exe TO: ...
本人刚开始接触jsp,发现配置环境不简单,特别是要马上用来进行实际开发,好些服务器及其他配置,设置问题我都不太明白,感谢大家指教!!
|
(1) Install JDK (FROM: USBsoftwareJavaj2sdk-1_3_1_01-win.exe TO: F:jdk1.3.1_01)
(2) (NEGLECTABLE!)Enviorment Variable:
[1] JAVA_HOME = F:jdk1.3.1_01
[2] classpath = f:jdk1.3.1_01bintools.jar;f:jdk1.3.1_01libdt.jar;
[3] path += F:jdk1.3.1_01;F:jdk1.3.1_01bin
(3) Install Tomcat(FROM: C:SoftWareJavatomcatjakarta-tomcat-4.0.3.exe TO: F:ApacheTomcat4.0)
(4) create a folder for root(e.g. f:wwwroot), copy WEB-INF to root(from F:ApacheTomcat4.0webappsexamplesWEB-INF to
f:wwwrootWEB-INF)
(5) change config as following(at the bottom of this post).
(6) start Tomcat
(7) http://127.0.0.1:8080 or http://127.0.0.1
///////////////////////////////////////////////////////////////
1. To change www root directory
@file---Apache Tomcat 4.0confserver.xml @line202
comment: path = alias, e.g. http://127.0.0.1:8080, http://127.0.0.1/study:8080
///////////////////////////////////////////////////////////////
2. To change the port to 80
@file---Apache Tomcat 4.0confserver.xml @line54
(2) (NEGLECTABLE!)Enviorment Variable:
[1] JAVA_HOME = F:jdk1.3.1_01
[2] classpath = f:jdk1.3.1_01bintools.jar;f:jdk1.3.1_01libdt.jar;
[3] path += F:jdk1.3.1_01;F:jdk1.3.1_01bin
(3) Install Tomcat(FROM: C:SoftWareJavatomcatjakarta-tomcat-4.0.3.exe TO: F:ApacheTomcat4.0)
(4) create a folder for root(e.g. f:wwwroot), copy WEB-INF to root(from F:ApacheTomcat4.0webappsexamplesWEB-INF to
f:wwwrootWEB-INF)
(5) change config as following(at the bottom of this post).
(6) start Tomcat
(7) http://127.0.0.1:8080 or http://127.0.0.1
///////////////////////////////////////////////////////////////
1. To change www root directory
@file---Apache Tomcat 4.0confserver.xml @line202
comment: path = alias, e.g. http://127.0.0.1:8080, http://127.0.0.1/study:8080
///////////////////////////////////////////////////////////////
2. To change the port to 80
@file---Apache Tomcat 4.0confserver.xml @line54
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
站内导航:
特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!