java 如何使用 Tomcat 6 配置 Struts 2?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/584804/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-29 12:57:33  来源:igfitidea点击:

How do I configure Struts 2 with Tomcat 6?

javaxmlweb-applicationstomcatstruts

提问by user67722

Can anyone help me to configure struts 2.0.14 (I'm using tomcat 6.0). I want to know what is the procedure to build my first application in struts. Also tell me how xml is used to build a struts application. I have tried and tired of Google and that's why I'm here. Please suggest some nice tutorials for struts from your own experience.

谁能帮我配置 struts 2.0.14(我使用的是 tomcat 6.0)。我想知道在 struts 中构建我的第一个应用程序的过程是什么。还告诉我如何使用xml 来构建struts 应用程序。我已经尝试过并厌倦了谷歌,这就是我来这里的原因。请根据您自己的经验为 struts 推荐一些不错的教程。

回答by Edwin

Look here Struts 2 Tutorials for Beginnersthat should help you on the way. They also explain the xml in Struts 2.

看这里的Struts 2 初学者教程,它应该可以帮助你。他们还解释了 Struts 2 中的 xml。

回答by Jonathan Leffler

What was wrong or missing from the material at the Struts home page? There are links to information for beginners, and so on.

Struts 主页上的材料有哪些错误或缺失?有初学者信息的链接等等。

回答by lucentmind

you can find more information about Struts 2 tutorials at http://struts.apache.org/2.2.1/docs/how-to-create-a-struts-2-web-application.html

您可以在http://struts.apache.org/2.2.1/docs/how-to-create-a-struts-2-web-application.html找到有关 Struts 2 教程的更多信息

Basically, this is the same documentation, that is also available as a part of any Struts 2.x release. There are few sample web application code -zip also available that you can build using Ant or Maven.

基本上,这是相同的文档,也可作为任何 Struts 2.x 版本的一部分使用。您还可以使用 Ant 或 Maven 构建一些示例 Web 应用程序代码 -zip。