【问题标题】:Jetty 9 embedded mode without web.xml and war fileJetty 9 嵌入模式,没有 web.xml 和 war 文件
【发布时间】:2013-05-20 09:02:11
【问题描述】:

我使用 Jetty 8 的嵌入式模式开发了一个没有 web.xml 和 war 文件的 Web 应用程序。但是我真的不知道如何在 Jetty 9 中做同样的事情。从 Jetty 8 到 Jetty9 似乎有些事情发生了变化。有人可以指点我做什么吗?

谢谢。

【问题讨论】:

  • 您能否举一些例子说明您在 8 号码头所做的事情以及您认为在 9 号码头做不到的事情?

标签: java jetty


【解决方案1】:

这方面变化不大,jetty 8 和 jetty 9 之间的主要变化在于底层 IO 层。

这里有很多嵌入式示例:

http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/examples/embedded/src/main/java/org/eclipse/jetty/embedded

这里的文档:

http://www.eclipse.org/jetty/documentation/current/embedding-jetty.html

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-09-20
    • 2015-08-04
    • 1970-01-01
    • 1970-01-01
    • 2014-09-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多