在 IBM RAD 8 中使用 Servlet 3?
我被要求使用 RAD 8.0.1 在 WebSphere 中运行 Web 应用程序,这不是我常用的 app.server 或开发环境。
我从简单开始,使用默认的 Ajax 测试服务器,但据我所知,动态 Web 应用程序的默认值是 Servlets 2.5。是否有什么东西埋在配置对话框的曲折小迷宫中将其设置为 Servlet 3.0,或者我必须手动处理它?
I've been asked to get a web application running in WebSphere using RAD 8.0.1, which isn't my usual app.server or development environment.
I'm starting off simple, using the default Ajax Test Server, but from what I can see, the default for a Dynamic Web Application is Servlets 2.5. Is there something buried in the twisty little maze of config dialogs to set it to Servlets 3.0, or must I handle that manually?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
IBM Websphere Application Server 8.0 支持 Servlet 3.0
IBM Websphere Application Server 版本 7.0 和 6.1 不支持它。
所以你需要使用8.0版本。如果您使用的是Websphere Portal,那么您就会遇到问题。
IBM Websphere Portal 在相同版本的应用程序服务器上运行(尽管您可以在 WAS 7 上运行 Portal 6.1 - 不过我遇到了一些 AJAX 问题)。因此,您也许能够让 Portal 7 在 WAS 8 上运行。这是短期内唯一的方法。
IBM Websphere Application Server 8.0 supports Servlet 3.0
IBM Websphere Application Server versions 7.0 and 6.1 do not support it.
So you need to use version 8.0. If you are using Websphere Portal, then you have a problem.
IBM Websphere Portal runs on same version Application Server (though you can for instance run Portal 6.1 on WAS 7 - I ran into some problems with AJAX though). So you might be able to get Portal 7 to run on WAS 8. It's the only way in the short term.
您使用的运行时环境是什么?
WebSphere 7.x 不支持Servlet 3.0,只有WebSphere 8.0 支持它。
WebSphere 8.0 仍处于测试阶段。
有趣的是,维基百科是一个很好的网站,提供了 WAS 支持的 API 列表。
http://en.wikipedia.org/wiki/IBM_WebSphere_Application_Server
我没有 RAD 8我可以方便地提供帮助,但我会检查并确保与该项目相关的运行时确实支持 Java EE 6(和 Servlet 3.0)
HTH
曼鲁
What is the run-time environment that you use?
WebSphere 7.x does not support Servlets 3.0 and it would be supported only by WebSphere 8.0.
WebSphere 8.0 is still in beta.
Interestingly, wikipedia is a good site for the list of supported APIs by WAS.
http://en.wikipedia.org/wiki/IBM_WebSphere_Application_Server
I don't have a RAD 8 handy with me to assist but i would check and ensure that the run-time associated with the project does support Java EE 6 (and Servlets 3.0)
HTH
Manglu
如果您安装了 Fix Pack 7.0.0.37<,Websphere Application Server 7 可以支持 servlet 3.0< /a> 或更高版本。
这会将 JDK 从 1.5.x 升级到 1.6.x。您还需要安装 WebSphere Application Server V7 Feature Pack for Web 2.0 和 Mobile V1 .1
Websphere Application Server 7 can support servlets 3.0 if you installed Fix Pack 7.0.0.37 or later.
That shall upgrade JDK from 1.5.x to 1.6.x. Also you need to install WebSphere Application Server V7 Feature Pack for Web 2.0 and Mobile V1.1