Tomcat的安装与测试

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
lb_bn
帖子: 1261
注册时间: 2007-02-25 16:56

#16

帖子 lb_bn » 2007-02-27 9:11

谢谢分享。。。。
imake
帖子: 60
注册时间: 2007-05-28 11:03

#17

帖子 imake » 2007-06-01 21:35

我配置好了后,没有页面显示,浏览器一片空白。我的是64位的UBUNTU。
使用STARTUP命令后和LZ的显示一样,就是在浏览的时候看不到页面。
使用SHUTDOWN命令后,则浏览器显示找不到页面了。
请问这是为什么呢?
a54cc
帖子: 21
注册时间: 2006-06-18 1:22

#18

帖子 a54cc » 2007-12-15 21:01

5. Enable the Invoker Servlet
The invoker servlet lets you run servlets without first making changes to your Web application's deployment descriptor (i.e., the WEB-INF/web.xml file). Instead, you just drop your servlet into WEB-INF/classes and use the URL http://host/servlet/ServletName (or http://host/webAppName/servlet/ServletName once you start using your own Web applications; see Section 2.11 of the book for details on Web apps). The invoker servlet is extremely convenient when you are learning and even when you are doing your initial development. You almost certainly want to enable it when learning, but you should disable it again before deploying any real applications.

根据以上的一小段话,invoker servlet 还是不开的好,要用servlet 老老实实写web.xml...
u_leno
帖子: 44
注册时间: 2007-09-08 11:46
来自: 杭州

#19

帖子 u_leno » 2008-01-02 14:10

* 设置路经
在/etc/profile文件中加入如下两行

代码:

export JAVA_HOME=/usr/lib/j2sdk1.5-sun
export TOMCAT_HOME=/opt/tomcat

在此我们假设Java JDK安装在/usr/lib/j2sdk1.5-sun目录下。
intijk
帖子: 167
注册时间: 2007-09-01 23:52

#20

帖子 intijk » 2008-02-07 2:07

非常感谢,您的教程比wiki上那个要好。
回复