´«ÖDz¥¿Íjavaѧϰ struts³õ²½
½ñÌìÊǵÚÒ»Ìì½Ó´¥¿ò¼ÜµÄ֪ʶ£¬Ñ§Ï°struts£¬Îҷdz£¸ÐÐËȤ£º
StrutsʹÓõıêÇ©¿â£º
l struts-bean.tld: bean±êÇ©µÄÃèÊöÎļþ,bean±êÇ©ÓÃÓÚ·ÃÎÊJavaBeansºÍËüÃǵĹØÁªÊôÐÔ£¬Ò²¿ÉÒÔÓÃÓÚ¶¨ÒåеÄBean
l struts-html.tld: html±êÇ©µÄÃèÊöÎļþ,html±êÇ©Ö÷ÒªÓÃÀ´´´½¨HtmlÊäÈë±íµ¥µÄ±ê¼Ç·û
l struts-logic.tld: logic±êÇ©µÄÃèÊöµÄÎļþ,logic±êÇ©ÓÃÓÚ¹ÜÀí¶ÔÊä³öÄÚÈÝÌõ¼þÅжÏ,´ÓÒ»¸ö¼¯ºÏ¶ÔÏóÖÐÑ»·È¡³öÄÚÈݵÈÒÔ¼°Ó¦ÓóÌÐòµÄÁ÷³Ì¹ÜÀí
l struts-nested.tld: nested±êÇ©µÄÃèÊöÎļþ,ÓÖ³ÆǶÌ×±êÇ©,ʹÓÃǶÌ×ÊôÐÔ¿ÉÒÔ×ÔÓɵķÃÎÊÈÎÒ»²ãµÄbeanÊôÐÔ
l struts-template.tld: Õâ¸ötemplate±êÇ©¿âµÄÃèÊöÎļþ,¶ÔÓÚ¹²ÏíͨÓøñʽµÄÒ³Ãæ´´½¨¶¯Ì¬JSPÄ£°æÊÇÓÐÓõÄ,Ò»°ãÎÒÃDz»ÓÃ
l struts-tiles.tld: tiles±êÇ©µÄÃèÊöÎļþ,Ö»ÓÐÎÒÃÇÔÚ¹¤³ÌÖмÓÈëÁËtitles×é¼þʱ²Å»áÓõ½,titles¿ò¼ÜΪ´´½¨WebÒ³ÃæÌṩÁËÒ»ÖÖÄ£°å»úÖÆ£¬ËüÄܽ«ÍøÒ³µÄ²¼¾ÖºÍÄÚÈÝ·ÖÀë¡£ËüÔÊÐíÏÈ´´½¨Ä£°å£¬È»ºóÔÚÔËÐÐʱ¶¯Ì¬µØ½«ÄÚÈݲåÈ뵽ģ°åÖС£
Struts µÄÅäÖÃÔªËØ£º
data-sources °üº¬DataSource ¶ÔÏó(JDBC 2.0 Standard Extension)µÄ¼¯ºÏ.
data-source ±êʶһ¸öDataSource ¶ÔÏó£¬Ëü¿ÉÒÔ±»ÊµÀý»¯£¬ºÍ½øÐÐÅäÖ㬲¢ÔÚservlet ÉÏÏÂÎÄÖÐ×÷Ϊһ¸öÊôÐÔ (»ò
ÕßÔÚapplication-scope µÄbean ÖÐ).
set-property ±êʶһ¸ö¶îÍâµÄJavaBean ÅäÖÃÊôÐԵķ½·¨Ãû³ÆºÍ³õʼ»¯Öµ¡£
global-exceptions ÃèÊöÒ»¸ö¿ÉÒÔ±»Action ¶ÔÏóÅ׳öµÄÒì³£µÄ¼¯ºÏ
exceptions Ϊһ¸öÒì³£ÀàÐÍ×¢²áExceptionHandler
form-beans ÃèÊöÕâ¸öÓ¦ÓÃÄ£¿éÖеÄform bean ÃèÊö·û¼¯ºÏ
form-bean ÃèÊöÒ»¸ö¿ÉÒÔ±»<action>ÔªËØÒýÓõÄActionForm ×ÓÀà
form-properties ÃèÊöÒ»¸ö JavaBean ÊôÐÔ£¬ ¿ÉÓÃÀ´ÅäÖÃÒ»¸öDynaActionForm ʵÀý»òÕßÆä×ÓÀà
global-forwards ÃèÊö¶ÔËùÓÐAction ¶ÔÏ󶼿ÉÒÔ×÷Ϊ·µ»ØÖµµÄActionForwar
Ïà¹ØÎĵµ£º
×¢Ê͵ÄÔÔò
1¡¢ ×¢ÊÍÐÎʽͳһ
ÔÚÕû¸öÓ¦ÓóÌÐòÖУ¬Ê¹ÓþßÓÐÒ»ÖµıêµãºÍ½á¹¹µÄÑùʽÀ´¹¹Ôì×¢ÊÍ¡£Èç¹ûÔÚÆäËûÏîÄ¿×é·¢ÏÖËûÃǵÄ×¢Ê͹淶ÓëÕâ·ÝÎĵµ²»Í¬£¬°´ÕÕËûÃǵĹ淶д´úÂ룬²»ÒªÊÔͼÔڼȳɵĹ淶ϵͳÖÐÒýÈëеĹ淶¡£
2¡¢ ×¢Ê͵ļò½à
ÄÚÈÝÒª¼òµ¥¡¢Ã÷ÁË¡¢º¬Òå׼ȷ£¬·ÀÖ¹×¢Ê͵ĶàÒåÐÔ£¬´íÎóµÄ×¢ÊͲ»µ«ÎÞÒæ·´¶øÓк¦¡£
......
ÔÚÂÛ̳Àï¿´ÁËdaquan198163ËùдµÄ¡¶³õѧRORµÄÒÉ»ó¡·ÕâƪÎÄÕ£¬robbinÔڻظ´ÖиøÁËÏêϸµÄ½â´ð£¬¿ÉÊÇ¿´Íê½â´ðÖ®ºó£¬ÎÒÒ²²úÉúÁËһЩÒÉ»ó£¬ÔÚ´ËÏëÎÊÎÊ¡£
ÔÚrobbinËù¸ø³öµÄ½â´ðµ±ÖУ¬¸ü¶àµÄÊDzûÊörailsµÄºÃ´¦£¬È»¶ø´ó¼Ò¶¼ÖªµÀ£¬railsÖ»Ê ......
package com.gis.biz;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import javax.servlet.http. ......
/* ¸ßÊÖÖ®×÷£¬±¾È˽÷ÒÔÊÕ²ØÕßÉí·ÝÄóö¹²Ïí¹©´ó¼Ò²Î¿¼! */
/*
* ÏòÁ¿½Ó¿Ú
*/
package dsa;
public interface Vector {
//·µ»ØÏòÁ¿ÖÐÔªËØÊýÄ¿
public int getSize();
//ÅжÏÏòÁ¿ÊÇ·ñΪ¿Õ
public boolean isEmpty();
//È¡ÖÈΪrµÄÔªËØ
public Object getAtRank(int r)
throws ......