装了JDK
然后装了tomcat4.0
配置tomcat4.0/bin/startup.dat
SET TOMCAT_HOME=c:\jakarta-tomcat-4.0
SET JAVA_HOME=d:\jdk1.2.2但士并没好使
然后装了tomcat4.0
配置tomcat4.0/bin/startup.dat
SET TOMCAT_HOME=c:\jakarta-tomcat-4.0
SET JAVA_HOME=d:\jdk1.2.2但士并没好使
解决方案 »
- 【求教】如何编程实现jsp调用java(此java是调用dll的程序)
- 快来人啊,救命。。。。
- 如何能让鼠标离开填写区域之后就弹出提示或者脚本?
- 急!急!急!!!!!满分求推荐JSP的书。谢谢。
- 急急急!!!关于IE窗口关闭事件的代码。
- 帮帮忙!!!
- 如何获得在JSP中获得象CSDN的网页中“我的专家门诊”的treeView类?
- 我的jbuilder8创建javabean时出错,不能创建!高手请进!
- product_list.jsp?dpt_code=01/product_type=0101,现在我要把/改为&,怎么做?
- 如何解决c3p0无法查找的问题
- servlet中如何调用jsp文件
- JDBC连接到mysql时发现的新问题,请高手知情者进来看看
@echo off
if "%OS%" == "Windows_NT" setlocal
rem ---------------------------------------------------------------------------
rem Start script for the CATALINA Server
rem
rem $Id: startup.bat,v 1.4 2002/01/15 02:55:38 patrickl Exp $
rem ---------------------------------------------------------------------------SET TOMCAT_HOME=c:\jakarta-tomcat-4.0
SET JAVA_HOME=d:\jdk1.2.2
rem Guess CATALINA_HOME if not defined
if not "%CATALINA_HOME%" == "" goto gotHome
set CATALINA_HOME=.
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
set CATALINA_HOME=..
:gotHome
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
echo The CATALINA_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
goto end
:okHomeset EXECUTABLE=%CATALINA_HOME%\bin\catalina.batrem Check that target executable exists
if exist "%EXECUTABLE%" goto okExec
echo Cannot find %EXECUTABLE%
echo This file is needed to run this program
goto end
:okExecrem Get remaining unshifted command line arguments and save them in the
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgscall "%EXECUTABLE%" start %CMD_LINE_ARGS%:end
:
http://www.csdn.net/expert/topic/459/459273.xml?temp=.2020227
做了,但使不好使
该页无法显示
然后装TOMCAT
最后重新启动计算机应该不会出现你说的问题!
你用的是什么系统?unix or windows?
Windows 2000 Server+JDK 1.4+Tomcat 4.0.3+Oracle 8.1.7
找到ContxtManager这行,就是这样
<Conncto className="or.apach.tomcat.service.SimpleTcpConnctor">
....
...
<Parameter name="port" value="9000">其实可以是任一个没有被占用的端口。把jdk下..\lib\tools.jar写到你的classpath中去.应该就这么多就可以了。
broadsea(巨海) ( ) 你的意思是创建自己的目录是吗?
没有找到ContxtManager这行
2000AdvanceServer+JDK+tomcat4.0
还是那个<ContxtManager>的tag 那里,在这个tag结束前加上
<Context path="/testdir"docBeas="webappl/tstdir" debug="0" rloadable="true">
</Context>
然后把C:\tomcat\wbapps\testdir\classes放到classpath这个环境变量中,
我在C:\tomcat\wbapps下创建了testdir目录,在tesdir目录下又创建了jsp,classs目录。
<!-- Tomcat Root Context -->
<!--
<Context path="" docBase="ROOT" debug="0"/>
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true">
<Conncto className="or.apach.tomcat.service.SimpleTcpConnctor">
<Parameter name="handler"
value="org.apache.tomcat.srvice.http.HttpConnctionHandler"/>
<Parameter name="port" value="9000">
<Connector>
找到这没有?
email:[email protected]
How To Setup TOMCAT 4.0.1 on Windows 2000 with IIS and NT Service...
我昨天刚参照配置成功
http://www30.brinkster.com/handstek/java/tomcat-iis.htm