Topic: 用lomboz建立web应用不成功。。。

  Print this page

1.用lomboz建立web应用不成功。。。 Copy to clipboard
Posted by: momocha
Posted on: 2003-09-28 18:40

我就简单地新建工程。。新建webmodule。。选择服务器(我的是tomcat4.1.24)按照http://www.objectlearn.com/上面的说明文档进行配置的。默认生成一个index.jsp,error.jsp文件。。我用
http://127.0.0.1:8080/web模块名/index.jsp, 总是显示错误页。。都试过好多遍了。。。可我直接把下面的目录考到tomcat下。。单独运行。。是可以的。。。

2.Re:用lomboz建立web应用不成功。。。 [Re: momocha] Copy to clipboard
Posted by: momocha
Posted on: 2003-09-29 11:24

是不是插件有题呀!!在eclipse中可以启动tomcat,但是通过相应路径访问不到相应的jsp页面。。。

3.Re:用lomboz建立web应用不成功。。。 [Re: momocha] Copy to clipboard
Posted by: momocha
Posted on: 2003-09-29 11:32

tomcat410.server类容如下。。
<serverDefinition
   name="Apache Tomcat v4.1.0"
   ejbModules="true"
   webModules="true"
   earModules="false">
<property id="serverRootDirectory"
  label="Application Server Directory:"
  type="directory"
  default="E:/tools/tomcat" />
<property id="serverAddress"
  label="Address:"
  type="string"
  default="127.0.0.1" />
<property id="serverPort"
  label="Port:"
  type="string"
  default="8080" />
<property id="classPathVariableName"
  label="Classpath Variable Name:"
  type="string"
  default="TOMCAT410" />
<property id="classPath"
  label="Classpath Variable:"
  type="directory"
  default="E:/tools/tomcat" />
<serverHome>${serverRootDirectory}</serverHome>
<webModulesDeployDirectory>${serverRootDirectory}/webapps</webModulesDeployDirectory>
<ejbModulesDeployDirectory>NOTSUPPORTED</ejbModulesDeployDirectory>
<earModulesDeployDirectory>NOTSUPPORTED</earModulesDeployDirectory>
<jndiInitialContextFactory>NOTSUPPORTED</jndiInitialContextFactory>
<jndiProviderUrl>NOTSUPPORTED</jndiProviderUrl>
<startClass>org.apache.catalina.startup.Bootstrap</startClass>
<startWorkingDirectory>${serverRootDirectory}/bin</startWorkingDirectory>
<startVmParameters>-DJAVA_HOME="${jrePath}" -Dcatalina.base="${serverRootDirectory}" -Dcatalina.home="${serverRootDirectory}" -Djava.io.tmpdir="${serverRootDirectory}/temp" -Djava.endorsed.dirs="${serverRootDirectory}/bin;${serverRootDirectory}/common/endorsed"</startVmParameters>
<startProgramArguments>start</startProgramArguments>
<stopClass>org.apache.catalina.startup.Bootstrap</stopClass>
<stopWorkingDirectory>${serverRootDirectory}/bin</stopWorkingDirectory>
<stopVmParameters>-DJAVA_HOME="${jrePath}" -Dcatalina.base="${serverRootDirectory}" -Dcatalina.home="${serverRootDirectory}" -Djava.io.tmpdir="${serverRootDirectory}/temp" -Djava.endorsed.dirs="${serverRootDirectory}/bin;${serverRootDirectory}/common/endorsed"</stopVmParameters>
<stopProgramArguments>stop</stopProgramArguments>
<serverClassPath>
  <jar type="variable">JDK_TOOLS</jar>
  <jar type="variable">${classPathVariableName}/common/lib/servlet.jar</jar>
  <jar type="variable">${classPathVariableName}/bin/bootstrap.jar</jar>
  <jar type="variable">${classPathVariableName}/common/lib/jndi.jar</jar>
</serverClassPath>
<clientClassPath>
</clientClassPath>
</serverDefinition>


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923