腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
在Eclipse中从
struts
.xml导航到动作的发生
eclipse
、
struts2
、
eclipse-plugin
我在
struts
.xml中有一些代码,比如: class="com.xxx.abc.web.
action
.XApplicationPDFAction"> &l
浏览 0
提问于2010-10-26
得票数 0
回答已采纳
2
回答
关于
struts
.xml中的
struts
2 redirectAction结果
struts2
Struts
2 redirectAction result是否可以传输引用类型,如Person。我的代码 <result name="success" type="redirectAction> <
action
name="getAdAction" class="getAdActi
浏览 1
提问于2013-04-11
得票数 0
1
回答
Liferay Hook调用扩展方法
liferay
我在一个liferay钩子中有了新的动作,理想情况下,它将调用在扩展中创建的方法。但在运行时执行该操作时,它会为扩展中创建的方法抛出异常java.lang.ClassNotFoundException。有没有人在救生索钩子里做过类似的动作?如果是,如果遇到此问题的解决方案是什么?public class ExampleStrutsAction extends BaseStrutsAction { public String execute( HttpServletRequest request, HttpServletResponse response) thro
浏览 0
提问于2013-06-20
得票数 0
1
回答
如何在救生筏中添加钩子到portlet中?
java
、
liferay
我已经制作了一个
struts
操作钩子,并希望将它添加到portlet中。我尝试了几种方法,比如我首先创建了portlet插件项目,然后通过右键单击portlet项目并单击New->Liferay hook配置将钩子添加到其中,但是没有
struts
操作钩子的选项。是否有任何方式向portlet添加
struts
操作钩子?
浏览 2
提问于2016-09-08
得票数 0
1
回答
Struts
2 .
action
扩展导致CSS、JavaScript和
Struts
2中断
struts2
、
dojo
、
jsp-tags
、
struts-config
、
action-mapping
我的研究表明,一般建议的解决方案是使用在
struts
.xml中删除.
action
后缀。<constant name="
struts
.
action
.excludePattern" value="/index.html,/images/.*,/js
浏览 0
提问于2012-09-26
得票数 10
回答已采纳
2
回答
所请求的资源(/ProjectName/)在
Struts
2中不可用
jsp
、
struts2
、
http-status-code-404
、
struts2-namespace
DOCTYPE
struts
PUBLIC"http://
struts
.apache.org/dtds/
struts
-2.0.dtd"> <package name="default
浏览 4
提问于2014-07-21
得票数 1
1
回答
网址"login“和"login.
action
”有什么不同?
java
、
url
、
struts2
我使用的是
Struts
2。我运行一个名为hello1的操作。我输入url:http://localhost:8081/MyStruts2/hello1,它就可以工作了。我尝试了另一个网址:http://localhost:8081/MyStruts2/hello1.
action
,它也能工作吗?我们是否可以将".
浏览 0
提问于2013-02-20
得票数 0
回答已采纳
4
回答
struts
2.2.1将".
action
“后缀附加到名称
struts2
我的项目将
struts
的版本从
struts
-2.1.8.1更改为
struts
-2.2.1。我们不使用后缀".
action
“来命名,迁移后会出现后缀。对于较旧版本的html代码,如下所示:但是新的
struts
呈现相同的形式: <fo
浏览 0
提问于2010-10-14
得票数 0
回答已采纳
2
回答
Struts
1.x和
Struts
2.x的URL模式问题
java
、
regex
、
struts2
、
xml-configuration
、
deployment-descriptor
我的一个项目是在
Struts
1.x上运行的,我们正在尝试在
Struts
2.x上集成一些URL的模式。少数网址也以Abc.do结尾。目前web.xml看起来像这样: <servlet-name>
action
</servlet-name>
浏览 1
提问于2014-09-15
得票数 1
1
回答
如何通过URL访问XML文件
java
、
xml
、
configuration
、
struts2
我是
Struts
2的初学者,我陷入了一个问题,当用户进入链接.xml doc时,我想访问项目www.sitename.com/sitemap.xml中的一个www.sitename.com/sitemap.xml
浏览 3
提问于2014-05-09
得票数 1
回答已采纳
3
回答
没有为名称空间[/]映射的操作和与上下文路径关联的操作名称
java
、
struts2
、
xml-configuration
、
action-mapping
DOCTYPE
struts
PUBLIC "http://
struts
.apache.org/dtds/
struts
-2.0.dtd"> <package
浏览 7
提问于2016-02-18
得票数 0
1
回答
如何从url中删除扩展名
java
、
url
、
struts2
、
action
我已经使用
struts
2设计了一个应用程序,并且需要删除扩展,例如如何删除.
action
,这样当我点击register时,没有动作扩展就调用我使用以下代码 <a href="<s:url
action
="register"/>">Register</a>
浏览 0
提问于2013-02-08
得票数 1
1
回答
在
struts
2.0.14版本中隐藏操作类的扩展
struts2
、
struts
、
action
我需要隐藏
Struts
2.0.14版本中的动作扩展。在web.xml中,我将筛选器代码更新为 <filter-name>
struts
2</filter-name><constant name="
struts
.
action</em
浏览 1
提问于2013-04-19
得票数 0
2
回答
升级到
struts
版本2.5.17时发布
struts2
、
tiles
、
tiles-3
、
xwork
、
struts2-tiles-plugin
我正在尝试将
struts
版本从2.3.35升级到2.5.17,但遇到了如下问题: at com.opensymphony.xwork2config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:163) 我一直在使用本指南迁移到
struts
我已经升级了所有
struts
相关的jar到2.5.17版本,包括
struts
2-tiles-plugin
浏览 2
提问于2018-10-25
得票数 0
回答已采纳
2
回答
在重定向url时更改
Struts
2命名空间
struts2
、
struts
正如你可以通过我的
struts
.xml重定向到应用程序只读模式。当我重定向到只读操作时,默认名称空间被“tenantId”(包含在会话中)覆盖 <constant name="
struts
.
action
.extension<
action</e
浏览 2
提问于2012-12-17
得票数 0
1
回答
是否将.do URL重定向到.
action
URL?
struts2
、
struts
、
web.xml
我在一个应用程序中将一个
struts
1页面迁移到了
struts
2。但是,为了向后兼容,我仍然需要旧页面的网址"/login.do“可以访问。如何将"login.do“地址重定向/映射到"login.
action
"?我会给回答最好的人买瓶啤酒(在凤凰城
浏览 3
提问于2012-06-06
得票数 0
回答已采纳
1
回答
Struts
1.2在JSP中显示消息
java
、
xml
、
struts
、
struts-1
我正在创建
Struts
1.2 Application.The文件夹结构,如下所示 在web.xml中,我编写了这样一种方式,即从
struts
-config.xml>org.apache.
struts
.
action
.ActionServlet</servlet-class> <param-name>config</> <
actio
浏览 3
提问于2013-05-08
得票数 0
回答已采纳
1
回答
@autowired不适用于
struts
2 + spring
java
、
spring
、
struts2
、
autowired
、
struts2-spring-plugin
我想制作一个基于
struts
2和spring的web应用程序。首先,我测试了@Autowired是否能在
struts
2上工作。但是它不是,dataSource是空的。我不知道我怎么能修好它。</filter-class> <filter-name>
struts
2</filter-name> <url-pattern>/<constant name=&qu
浏览 3
提问于2014-01-06
得票数 1
回答已采纳
1
回答
struts
.xml中的错误消息
struts2
我试图编写一个简单的
Struts
2程序。 <?DOCTYPE
struts
PUBLIC "http://
struts</
浏览 6
提问于2014-09-18
得票数 0
2
回答
Struts
2中的DispatchAction功能?
jsp
、
struts2
="User" > <s:submit
action
="addUser" value="Add" /><!DOCTYPE
struts
PUBLIC "-//Apache Softwar
浏览 4
提问于2013-11-07
得票数 6
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
SSH框架之Struts2系列(二)
Action对象
Eclipse搭建SSH框架教程
Spring in Action 要点总结
SSH框架之Struts2系列(一)
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券