正在加载图片...
guokehua(@yahoo.com.cn oy Java! 切换方法2: SwitchAction 在默认模块中指定一个type为 I org. apachestrutsactions. SwitchAction tk Acti。n路径然后利用 m·切换:/ actionPath'?pex=模块名&page=页面 名 切换:/ action Path? prefix=&page=页面名 Action path="/switch type=org. apache struts actions. SwitchA ction"/> <html:link action="/switch?prefix=/submodule &page= /subSp.jsp">lianjie</html: link> 008-3-10 郭克华J2E框架实战教学视频2008-3-10 4 oy Java! J guokehua@yahoo.com.cn 郭克华J2EE框架实战教学视频 切换方法2:SwitchAction SwitchAction • 在默认模块中指定一个 在默认模块中指定一个type为 org.apache.struts.actions. org.apache.struts.actions.SwitchAction SwitchAction的 Action路径,然后利用: • 切换:/actionPath actionPath?prefix=/ ?prefix=/模块名&page=/页面 名 • 切换:/actionPath actionPath?prefix= ?prefix=&page=/页面名 • <action path="/switch" "/switch" type="org.apache.struts.actions. "org.apache.struts.actions.SwitchA SwitchA ction" /> • <html:link html:link action="/switch?prefix=/ "/switch?prefix=/submodule submodule&page= /subJsp.jsp">lianjie lianjie</html:link html:link>
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有