<c:if test="${requestScope.actiList==null}">
<jsp:forward page="acti!toActiList.action"></jsp:forward>
</c:if>以这种方式跳转,无法被struts2拦截,找不到指定路径.这是为什么? <!-- 配置struts2拦截 -->
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
<init-param>
<param-name>config</param-name>
<param-value>
struts-default.xml,
struts-plugin.xml,
../struts2/struts.xml,
../struts2/struts2/userStruts.xml,
../struts2/struts2/actiStruts.xml
</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>配置贴上!!!报错404.这是什么原因?或者用什么方式跳转可以拦截.访问页面是判断值.不存在则跳转查询存值.
解决方案 »
- 谁能讲解一下这句代码,感激不尽oracle.jdbc.driver.OracleTypes.CURSOR
- spring上传
- 怎么判断一个网站能不能打得开?
- 导入Excel出现浏览器超时
- 写了个javabean,导入到JSP页面时出错,提示无法解析类.....哪位仁兄帮解决了,我把我在CSDN里所有的分数都送给你
- 如何去收串口或网口的消息,处理后将结果发往其他pc?
- 关于 数据库 的问题 请大家看看
- tomcat5.5 为什么显示htm的页面是乱码?应该怎么调?谢谢!!
- 怎样从数据库中提取数据,填充下拉框?在线等待
- 请教关于struts的struts-config.xml的配置问题?
- 在线等。response.sendRedirect request.getParameter 乱码问题。
- 如何抓取網頁上的內容
<c:if test="${requestScope.actiList==null}">
window.location.href="acti!toActiList.action";
</c:if>
<script>
肯定行