2013-03-05 92 views
2

Struts2是否支持RAD 7.5.5?RAD中的Struts 2

我正在RAD中创建一个示例动态Web项目,并且我的JSP页面正在调用,但Action类未被调用。

我收到以下错误:

Error 404: SRVE0190E: File not found: /hello 
+0

您需要提供更多详细信息。另外,将devMode切换为true,将日志记录增加到DEBUG级别,检查启动日志并包含您的配置。还有一些特定于WS的S2问题,但我的理解是它们已在WS7 +中得到解决。 – 2013-03-05 11:27:29

+0

多么奇怪的文件名。你能发布真正的道路吗? – 2013-03-05 19:16:32

回答

0

它支持Struts2的,因为每个其他第三方技术,但它并没有提供任何具体的工具,因为对Struts 1.3。

Rational Application Developer 7.5 and 8.0 do not provide any specific tooling for Struts 2.x (such as it does for Struts 1.x).

For example, you will need to obtain the Struts 2.x runtime files from the Struts Web site yourself and manually add them to (and configure them within) a Dynamic Web project in which you intend to use Struts 2.x.

Note: A Struts 2.x application is treated as a standard Dynamic Web project.

FROM: http://www-01.ibm.com/support/docview.wss?uid=swg21327401

您可以用Introduction to Struts 2.x using RAD 7.5指南验证安装(有无关S2,尽管标题),

,下载并运行一个template project from here,从运行的东西开始。

顺便说一句,你似乎是一个配置错误,从零检查您的cfg,或使用模板。