2013-03-05 96 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,或使用模板。