javaÎÄÕÂ struts2
Action×¢½âÅäÖÃ
ʹÓ÷½Ê½ÈçÏ£º
Java´úÂë
@ParentPackage(value="struts-default")
@Namespace(value="/test")
@Result(name="success",value="/userSuc.jsp")
@Results({
@Result(name="success",value="/userSuc.jsp",type=org.apache.struts2.dispatcher.ServletRedirectResult.class),
@Result(name="input",value="/main.jsp",type=org.apache.struts2.dispatcher.ServletRedirectResult.class)
})
@ParentPackage(value="struts-default")
@Namespace(value="/test")
@Result(name="success",value="/userSuc.jsp")
@Results({
@Result(name="success",value="/userSuc.jsp",type=org.apache.struts2.dispatcher.ServletRedirectResult.class),
@Result(name="input",value="/main.jsp",type=org.apache.struts2.dispatcher.ServletRedirectResult.class)
})
ÔÚʹÓÃÕâЩע½âµÄʱºò£¬»¹ÐèÒª½øÐжîÍâµÄһЩÅäÖá£ÔÚweb.xmlµÄfilterÅäÖÃÖУ¬ÐèÒªÖ¸¶¨ÄÄЩpackageÊÇʹÓÃÁË×¢½âµÄ¡£ÅäÖÃÈçÏÂËùʾ£¬ÆäÖвÎÊýÃû±ØÐëΪ“actionPackages”£¬²ÎÊýµÄÖµ¾ÍÊÇpackageµÄÃû³ÆÁÐ±í¡£
Xml´úÂë
<filter>
<filter-name>struts</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
<init-param>
<param-name>actionPackages</param-name>
<param-v
Ïà¹ØÎĵµ£º
1.²ð·Ö×Ö·û´®
Óöµ½ÌØÊâ×Ö·û£¬±ÈÈ磺¶Ô‘$’·ûºÅ£¬¾ÍÓ¦¸ÃʹÓÑ\\$’£¬ºó×ܽá¿ÉÒÔ¼Ó¸ö·½À¨ºÅÈç "[.]"¡£
2.±éÀúHASHMAP
Iterator itr = map.keySet().itrator();
while(itr.hasNext())
{
Object temp1 = itr.next();
Object temp2 = tab.get(temp1);
}
......
JNIÊÇJava Native InterfaceµÄËõд¡£´ÓJava 1.1¿ªÊ¼£¬Java Native Interface (JNI)±ê×¼³ÉΪjavaƽ̨µÄÒ»²¿·Ö£¬ËüÔÊÐíJava´úÂëºÍÆäËûÓïÑÔдµÄ´úÂë½øÐн»»¥¡£JNIÒ»¿ªÊ¼ÊÇΪÁ˱¾µØÒѱàÒëÓïÑÔ£¬ÓÈÆäÊÇCºÍC++¶øÉè¼ÆµÄ£¬µ«ÊÇËü²¢²»·Á°ÄãʹÓÃÆäËûÓïÑÔ£¬Ö»Òªµ÷ÓÃÔ¼¶¨ÊÜÖ§³Ö¾Í¿ÉÒÔÁË¡£
ʹÓÃjava ......
×î½üÐèÒªÖÆ×÷java desktop applicationµÄ°²×°³ÌÐò¡£
ºÃ²»ÈÝÒ×ÔÚÍøÉÏdownÁ˸öinstallanywhere9°²×°²¢Æƽ⣬ ÓÃÆðÀ´»¹Í¦Ë³Àû£¬¹¦ÄܱȽÏÇ¿´ó£¬Ðí¶àµØ·½¿ÉÒÔ¶¨ÖÆ£¬µ±È»×ö³öÀ´µÄ³ÌÐòÔÚ°²×°Ê±Ò²Ëæ´¦¿É¼ûinstallanywhereµÄÉíÓ°£¬ÉÌÒµÈí¼þÂû°ì·¨¡£
ºóÀ´³ÌÐòÔÚÔËÐйý³ÌÖУ¬·¢ÏÖ×ÔÒÔΪÉèÖýøÈ¥ÁËjava desktop applicationµÄjreµ ......
¶ÔÏó³Ö¾Ã»¯£¬Ò²¾ÍÊÇ¿ÉÒÔ°ÑÕâ¸ö¶ÔÏóÓÀÔ¶µÄ±£´æÆðÀ´£¬ÕâÀïµÄ±£´æ²»½öÊǶÔÏó±¾Éí£¬»¹°üÀ¨ËûµÄÊôÐÔºÍËùÒÀÀµµÄÆäËûÀࡣͨ³££¬¶ÔÏó¿ÉÒԳ־û¯µ½Îļþ»òÕßÊÇÊý¾Ý¿âÖС£ÎÒÕâÀïÖ»½éÉÜÈçºÎ½«¶ÔÏó´æ´¢µ½Êý¾Ý¿âÖС£Ç¡ÇÉOracleÊý¾Ý¿âΪÎÒÃÇÌṩÁËÕâÑùµÄ·½±ã¡£
ÔÚOracleÖУ¬ÓÐÒ»ÖÖblogµÄ×Ö¶ÎÀàÐÍ£¬ËüÊÇÓÃÀ´´æ´¢´óÁ¿µÄ¶ ......
ºÜ¶àÈËÎʵ½ÈçºÎ³éÈ¡word£¬excel£¬pdf°¢¡£ÕâÀïÎÒ×ܽáһϳéÈ¡word,pdfµÄ
¼¸ÖÖ·½·¨¡£
1¡£ÓÃjacob.
ÆäʵjacobÊÇÒ»¸öbridage£¬Á¬½ÓjavaºÍcom»òÕßwin32º¯ÊýµÄÒ»¸öÖмä¼þ£¬jacob²¢²»ÄÜÖ±½Ó³éÈ¡word,excelµÈÎļþ£¬ÐèÒª×Ô¼ºÐ´dllŶ£¬²»¹ýÒѾÓÐΪÄãдºÃµÄÁË£¬¾ÍÊÇjacobµÄ×÷ÕßÒ»²¢ÌṩÁË¡£
jacobÏÂÔØ£ºhttp://www.matrix.org ......