cost 471 ms
Struts2 没有为命名空间 [/] 映射的动作和与上下文路径关联的动作名称 [index] - Struts2 no Action mapped for namespace [/] and action name [index] associated with context path

这已经被问过很多次了,但与这个不太一样。 一切似乎都存在并且在正确的位置。 我正在使用带有约定插件的 Java8、Eclipse、Maven、Struts2、Spring、图块和注释。 上下文根是 iquality,仅供参考。 正在读取 struts.xml,因为我在配置浏览器中看到了正确的常量 ...

当 Struts2 位于 war 文件中的 jar 文件中并且 Struts2 被部署为 Wildfly 模块时,Struts2 找不到我的操作 - Struts2 can't find my actions when they are in a jar file within a war file and Struts2 is deployed as a Wildfly module

我正在使用 Wildfly 并将 Struts2 部署为一个模块。 我将 project.war 文件部署到独立/部署中。 在 project.war/WEB-INF/lib 中有一个 project-web.jar 文件,其中包含我的 Struts2 操作。 我正在使用约定插件。 在我的 stru ...

Struts2 约定插件中是否有等效的 default-action-ref - Is there an equivalent for default-action-ref in Struts2 Conventions Plugin

我想有一个默认的动作,但不是在 XML 中,因为我想使用 Struts2 约定插件来使用注释。 所以我想更换 在注释中有一些东西,所以我不必使用 struts.xml 文件,而且在 URL 中指定了未知操作时也重定向到特定操作。 Struts2 约定插件是否对此提供支持,或者是否有任何基于 ...

我的动作类是在没有Struts.xml mappins或java注释的情况下映射的 - My action class is being mapped without Struts.xml mappins or java annotations

我有一个JSP登录页面,可以调用登录操作类。 我使用Struts注释而不是struts.xml来映射,一切都运行正常。 我随机尝试了一些新的东西,所以我从我的动作类中删除了所有注释,而我的struts.xml没有映射,但我的login.jsp能够以某种方式调用我的动作类。 如果没有使用St ...

struts注释@Result应该只是在类级别吗? - Should struts annotation @Result only be in class level or not?

我正在阅读Struts2文档,发现其文档中存在一些矛盾。 在此链接https://struts.apache.org/docs/convention-plugin.html Convention插件允许操作类为操作定义不同的结果。 结果分为两类,全球和地方。 全局结果在操作类中定 ...

Struts 2-升级后错误的控制器映射 - Struts 2 - wrong controller mapping after upgrade

从Struts版本2.1.8.1升级到2.3.16.3后,某些控制器的映射存在问题。 升级之前所有设备都在工作,但现在60个以上的控制器中有3个出现了下一个错误: 错误[ActionComponent]无法执行操作: //vendor-tree!index没有为名称空间/映射任何Ac ...

HTTP 404-没有与上下文路径[/ FormularioMD]关联的名称空间[/ modeldriven]和操作名称[datosUsuario]映射的操作 - HTTP 404 - There is no Action mapped for namespace [/modeldriven] and action name [datosUsuario] associated with context path [/FormularioMD]

我是struts2的初学者。 我在eclipse上创建了一个动态Web项目,以便使用struts2。它存在问题,我只是不知道为什么。 控制台输出为: 我有以下目录结构: 我的JSP文件输入数据: 我的动作课, 注意:我使用注释: 我的JSP文件显示结果: ...

使用命名约定插件拒绝直接访问 Struts2 中的 JSP 文件 - Deny direct access to JSP files in Struts2 with Naming Convention plugin

我一直在努力解决这个问题,因为我是 Struts2 开发的新手,最近才开始使用这个命名约定插件。 我正在尝试创建一个简单的 webapp,它最初只包含两个页面: 登录页面( login.jsp ) 主页 ( home.jsp ) 首先向用户显示登录页面,如果提供了正确的用户名和密码, ...

如何使用带有注释映射的Action类的struts-spring插件配置struts约定插件 - How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

我正在尝试使用已经与约定插件一起运行的strut 2应用程序配置spring插件,所以我正在使用注释。 我正在使用ExtJs进行表单提交,在我引入spring插件之前,最初一直运行良好,现在ajax请求无法找到操作,并且在firebug中未显示任何响应。 的pom.xml 在st ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM