锘??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美一二区在线观看,日韩电影网1区2区,伊人网在线视频http://www.aygfsteel.com/utopian/category/9205.html涓撴敞浜嶫AVA寮鍙?!!zh-cnWed, 28 Feb 2007 18:57:15 GMTWed, 28 Feb 2007 18:57:15 GMT60Struts 1.2澶氭ā鍧楀紑鍙戠畝鍗曠ず渚?/title><link>http://www.aygfsteel.com/utopian/articles/38595.html</link><dc:creator>Welcome to utopia!</dc:creator><author>Welcome to utopia!</author><pubDate>Sat, 01 Apr 2006 03:59:00 GMT</pubDate><guid>http://www.aygfsteel.com/utopian/articles/38595.html</guid><wfw:comment>http://www.aygfsteel.com/utopian/comments/38595.html</wfw:comment><comments>http://www.aygfsteel.com/utopian/articles/38595.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/utopian/comments/commentRss/38595.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/utopian/services/trackbacks/38595.html</trackback:ping><description><![CDATA[ <p>鐢變簬鏈榪戝仛鐨勪竴涓狾A欏圭洰瑕佺敤鍒板妯″潡,鎵浠ョ壒鎰忔壘浜嗚祫鏂欐潵鍙傝?涓嶈繃寰堝璁茬殑涓嶆槸寰堣緇?涓轟簡璁╁儚鎴戜竴鏍瘋彍鐨勫垵瀛﹁呰兘鏄庣櫧榪欎釜澶氭ā鍧楅厤緗?浜庢槸鍐欎簡鏈枃.<br />Struts鐨勫畼鏂圭綉绔欎笂鍏跺疄鏈夌ず渚?鍙涓嬭澆1.2.6浠ヤ笂鐨勫紑鍙戝寘.<br />鍏跺疄1.1涔熸敮鎸佸閰嶇疆鏂囦歡,涓嶈繃瀹炵幇鍥伴毦,鎴戜篃娌℃湁璇?<br /><font color="#ff3300">娉ㄦ剰:鎴戣繖閲岀敤鐨勬槸Struts 1.2.<br /></font>涓嬮潰寮濮嬪惂:<br />鍏堣鏄庝竴涓?宸ョ▼鍚嶄負Module,鍒嗕笁涓瓙妯″潡,鍒嗗埆鏄痬odule1,module2,module3,涓轟簡綆鍗曡搗瑙佹瘡涓涓ā鍧椾笅闈㈠彧鏀句簡涓涓惈鏈夐摼鎺ュ埌鍏跺畠妯″潡鐨凧SP鏂囦歡(index.jsp),.鐩綍緇撴瀯濡備笅:<br /><img src="http://www.aygfsteel.com/images/blogjava_net/utopian/9345/r_Struts%201.2%e5%a4%9a%e6%a8%a1%e5%9d%97%e5%bc%80%e5%8f%91%e7%ae%80%e5%8d%95%e7%a4%ba%e4%be%8b.BMP" /><br />浠ヤ笅鏄悇涓枃浠剁殑浠g爜:<br />Module\WebRoot\index.jsp:<br /><%@ page language="java" pageEncoding="GB2312"%><br /><%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%><br /><%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%><br /><%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%><br /><%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested"%></p> <p><logic:redirect forward="welcome"/><br />娌′粈涔堝唴瀹?灝辨槸鐩存帴閲嶅畾鍚戝埌welcome,鍦ㄨ繖閲孲truts浼氭煡鎵網ebRoot\WEB-INF\struts-config.xml涓嬬殑<global-forwards>鍏冪礌閲?鐪嬬湅鏄惁鏈?lt;forward name="welcome" path="/Welcome.do" />榪欐牱鍚嶅瓧鐨勮漿鍚?<br />Module/WebRoot/WEB-INF/struts-config.xml:<br /><?xml version="1.0" encoding="UTF-8"?><br /><!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd"><br /><struts-config><br /><data-sources /><br /><form-beans /><br /><global-exceptions /><br /><global-forwards><br />聽<forward name="welcome" path="/Welcome.do" /><br /></global-forwards><br /><action-mappings><br />聽<action path="/Welcome" forward="/Welcome.jsp" /><br />聽<action path="/toModule" type="org.apache.struts.actions.SwitchAction" /><br /></action-mappings><br /><message-resources parameter="com.utopian.struts.ApplicationResources" /><br /></struts-config><br />鍥犱負鏈?lt;forward name="welcome" path="/Welcome.do" />,鎵浠ュ畠灝變細杞悜鍒?Welcome.do,鐒跺悗Struts鍙堜細鍘繪煡鎵懼埌Web.xml閲屽叧浜?do鐨勫鐞?<br />Module\WebRoot\WEB-INF\web.xml:<br /><?xml version="1.0" encoding="UTF-8"?><br /><web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee聽聽 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"><br />聽<display-name>Module Test</display-name><br />聽<servlet><br />聽聽<servlet-name>action</servlet-name><br />聽聽<servlet-class>org.apache.struts.action.ActionServlet</servlet-class><br />聽聽<init-param><br />聽聽聽<param-name>config</param-name><br />聽聽聽<param-value>/WEB-INF/struts-config.xml</param-value><br />聽聽</init-param><br />聽聽<!-- module configurations --><br />聽聽<init-param><br />聽聽聽<param-name>config/module1</param-name><br />聽聽聽<param-value>/WEB-INF/module1/struts-config.xml</param-value><br />聽聽</init-param><br />聽聽<init-param><br />聽聽聽<param-name>config/module2</param-name><br />聽聽聽<param-value>/WEB-INF/module2/struts-config.xml</param-value><br />聽聽</init-param><br />聽聽<init-param><br />聽聽聽<param-name>config/module3</param-name><br />聽聽聽<param-value>/WEB-INF/module3/struts-config.xml</param-value><br />聽聽</init-param></p> <p>聽聽<init-param><br />聽聽聽<param-name>debug</param-name><br />聽聽聽<param-value>3</param-value><br />聽聽</init-param><br />聽聽<init-param><br />聽聽聽<param-name>detail</param-name><br />聽聽聽<param-value>3</param-value><br />聽聽</init-param><br />聽聽<load-on-startup>0</load-on-startup><br />聽</servlet><br />聽<servlet-mapping><br />聽聽<servlet-name>action</servlet-name><br />聽聽<url-pattern>*.do</url-pattern><br />聽</servlet-mapping><br />聽<!-- The Usual Welcome File List --><br />聽<welcome-file-list><br />聽聽<welcome-file>index.jsp</welcome-file><br />聽</welcome-file-list><br /></web-app><br />娉ㄦ剰榪欓噷,聽<servlet-name>action</servlet-name>聽<url-pattern>*.do</url-pattern>,鏍規嵁榪欎釜,Struts浼氭壘鍒癮ction.鐒跺悗鍘籹truts-config.xml鏌ユ壘鎵鍖歸厤鐨勫?鍥犱負鏈?lt;action path="/Welcome" forward="/Welcome.jsp" />,/Weclcome.do灝變細鐩存帴杞埌/Welcome.jsp.<br />Module\WebRoot\Welcome.jsp:<br />榪欎釜鏂囦歡灝辨槸涓浜涜漿鍚?<br />聽<ul><br />聽聽聽聽聽 <li><html:link module="/module1" action="/module1">榪欐槸絎竴涓瓙妯″潡module1鐨勯摼鎺?lt;/html:link></li><br />聽聽聽聽聽 <li><html:link module="/module2" action="/module2">榪欐槸絎簩涓瓙妯″潡module2鐨勯摼鎺?lt;/html:link></li><br />聽聽聽聽聽 <li><html:link module="/module3" action="/module3">榪欐槸絎笁涓瓙妯″潡module3鐨勯摼鎺?lt;/html:link></li><br />聽 </ul><br />鍦⊿truts 1.2閲?濡傛灉鍦╨ink鏍囩閲岀敤浜唌odule灞炴?灝辮〃紺烘槸妯″潡闂磋漿鍙?鎵浠ュ氨浼氬厛鍒皐eb.xml鍘婚噷鏌ユ壘鍏充簬妯″潡鐨勫畾涔?姣斿璇磋繖涓犅犅?lt;param-name>config/module1</param-name><param-value>/WEB-INF/module1/struts-config.xml</param-value>,config鏄〃紺洪粯璁ょ殑妯″潡,鑰宑onfig/鍒欒〃紺哄瓙妯″潡,榪欎釜鏂囦歡澶瑰疄闄呬笂涓嶅瓨鍦?鎺ユ潵鐨勬儏鍐電被浼煎墠闈㈣鐨勬煡鎵捐漿鍚戠殑榪囩▼.<br />榪樻湁浠涔堜笉娓呮鐨勫湴鏂?璇瘋仈緋繪垜,鎴戜細灝芥垜鎵鑳藉府鍔╀綘!<br />涓嬮潰鏈夊畬鏁寸殑欏圭洰涓嬭澆:<br /><a class="" title="" href="/Files/utopian/Module.rar" target="">Struts 1.2澶氭ā鍧楀紑鍙戠畝鍗曠ず渚?/a><br /></p> <img src ="http://www.aygfsteel.com/utopian/aggbug/38595.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/utopian/" target="_blank">Welcome to utopia!</a> 2006-04-01 11:59 <a href="http://www.aygfsteel.com/utopian/articles/38595.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">上高县</a>| <a href="http://" target="_blank">乐清市</a>| <a href="http://" target="_blank">高要市</a>| <a href="http://" target="_blank">上饶县</a>| <a href="http://" target="_blank">柯坪县</a>| <a href="http://" target="_blank">葫芦岛市</a>| <a href="http://" target="_blank">新丰县</a>| <a href="http://" target="_blank">泸西县</a>| <a href="http://" target="_blank">灵山县</a>| <a href="http://" target="_blank">万源市</a>| <a href="http://" target="_blank">宁化县</a>| <a href="http://" target="_blank">灵川县</a>| <a href="http://" target="_blank">余江县</a>| <a href="http://" target="_blank">洪洞县</a>| <a href="http://" target="_blank">南部县</a>| <a href="http://" target="_blank">监利县</a>| <a href="http://" target="_blank">嘉定区</a>| <a href="http://" target="_blank">安义县</a>| <a href="http://" target="_blank">元阳县</a>| <a href="http://" target="_blank">招远市</a>| <a href="http://" target="_blank">肃南</a>| <a href="http://" target="_blank">宜兴市</a>| <a href="http://" target="_blank">永州市</a>| <a href="http://" target="_blank">萨迦县</a>| <a href="http://" target="_blank">墨玉县</a>| <a href="http://" target="_blank">武川县</a>| <a href="http://" target="_blank">吉安市</a>| <a href="http://" target="_blank">德兴市</a>| <a href="http://" target="_blank">永州市</a>| <a href="http://" target="_blank">彭州市</a>| <a href="http://" target="_blank">吉木萨尔县</a>| <a href="http://" target="_blank">三门县</a>| <a href="http://" target="_blank">炎陵县</a>| <a href="http://" target="_blank">古蔺县</a>| <a href="http://" target="_blank">芒康县</a>| <a href="http://" target="_blank">定安县</a>| <a href="http://" target="_blank">济源市</a>| <a href="http://" target="_blank">四子王旗</a>| <a href="http://" target="_blank">黑山县</a>| <a href="http://" target="_blank">城固县</a>| <a href="http://" target="_blank">营山县</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>