关于struts2配置问题
[html]
将 <filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
改成
[html]
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
后增加
[html]
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
以后是能访问首页面,但登陆后访问页面右边页面可以显示,左边页面不显示,右边和左边页面放在一个frameset里
[html]
<frame src="user_login!jumpLeft" name="left" frameborder="0" framespacing="0" marginwidth="0" marginheight="0" scrolling="auto" noresize="noresize">
为什么写成*.action后left.jsp不能显示
补充:Web开发 , Jsp ,