[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不能顯示