jetty是jboss自带的servlet和jsp容器,为什么不用tomcat,jboss本身的文档就很少,所以建议你用tomcat
解决方案 »
- hibernate hql语句出错
- 求免费的bbs程序
- 想利用Quick实现xml和java对象的转化,使用Quick工具创建QDML时出错
- 有项目经验的高手请进来:问Jsp虚拟空间的问题。
- 求教,用IDEA的人遇到过类文件上有个小叉吗?代表什么意思?
- 求大侠帮忙,servlet报错
- java编程思想的一个小问题
- jdbc连接oracle的问题
- jbuilder开发ejb的问题
- 请问我的jbuilder7企业版,装上去后,找不到jframe是什么原因????
- 用struts的<html:link>怎么向另一个桢提交,可它没有target属性。
- struts中的一个简单问题,请求各位大侠帮助!!
jetty时间单快速的sevlet容器,jsp容器是借用tomcat的。
挺好用的也比较简单。源码也比较容易理解
它是自己独立的,jboss只不过是集成了jetty
我下载的是open for business,它默认的是在Jetty下.
有没有谁下载过这个,能给我讲讲。
我现在只是想看先运行open for business ,看看这个东西是不是我
需要的东西。如果不需要,我就不用花时间去看了。
多谢各位回复。
我的OICQ:191576515
配置一个myserver.xml
内容如下:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC
"-//Mort Bay Consulting//DTD Configure 1.0//EN"
"http://jetty.mortbay.org/configure_1_1.dtd"><!--
This is a Jetty HTTP admin server configuration file. This configuration
uses the generic org.mortbay.util.XmlConfiguration class to call
the normal org.mortbay.http.HttpServer configuration API from
within an XML script.The format of this file is described in the configure.dtd file.The API that can be called by this file is described in the
Javadoc for Jetty.$Id: admin.xml,v 1.23 2002/10/20 16:07:45 gregwilkins Exp $
--><Configure class="org.mortbay.jetty.Server">
<Call name="addListener">
<Arg>
<New class="org.mortbay.http.SocketListener">
<Set name="Host">localhost</Set>
<Set name="Port">8084</Set>
</New>
</Arg>
</Call> <Call name="addWebApplication">
<Arg>/</Arg>
<Arg>./webapps/myapp/</Arg>
</Call></Configure>
---------------------------
把你需要运行的项目考到
./webapps/myapp/目录下然后
java -jar start.jar myserver.xml
用该命令启动jetty