jsp:getProperty±êÇ©
jsp:getProperty±êÇ©ÓÃÓÚ»ñÈ¡±»¼ÓÔØµ½µ±Ç°Ò³ÃæÖеÄJavaBeanÖÐij¸öÊôÐÔµÄÖµ
¸ñʽ£º<jsp:getProperty name=? property=? />
name£ºJavaBeanµÄ¶ÔÏóÃû£¬ÓÃÓÚÖ¸¶¨´ÓÄĸöJavaBeanÖлñÈ¡ÊôÐÔÖµ
property£ºJavaBeanÖеÄÊôÐÔÃû£¬ÓÃÓÚÖ¸¶¨»ñÈ¡JavaBeanÖеÄÄĸöÊôÐÔÖµ
×¢Ò⣺µ±JavaBeanÖеÄÊôÐÔÃûΪxxx£¬¶ø»ñÈ¡¸ÃÊôÐÔÖµµÄ·½·¨ÃûΪgetYyy()£¬Ôòproperty="yyy"£¬¶ø²»ÊÇproperty="xxx"
Ïà¹ØÎĵµ£º
Cookie¶ÔÏóÊÇÓÉWeb·þÎñÆ÷²úÉúºó±£´æÔÚä¯ÀÀÆ÷ÖеÄÐÅÏ¢£¬Ëü¿ÉÒÔÓÃÀ´±£´æÒ»Ð©Ð¡Á¿µÄÐÅÏ¢ÔÚä¯ÀÀÆ÷ÖУ»¸Ã¶ÔÏó²»ÊôÓÚJspµÄÄÚÖöÔÏó£¬ËüÐèÒª¹¹Ôì²ÅÄÜʹÓÃ
1. ¹¹Ô죺
Cookie cookie¶ÔÏóÃû=new Cookie(cookie±äÁ¿Ãû£¬cookieÖÐËù´æ´¢µÄ¶ÔÏó)
2. cookieµÄдÈëÓë¶ÁÈ¡
&nbs ......
Exception¶ÔÏóÊÇÓÃÀ´´¦ÀíJspÒ³ÃæÎļþÔÚÖ´ÐÐʱËùÓз¢ÉúµÄ´íÎóºÍÒì³££»JspÒ³ÃæÎļþ±ØÐëÔÚisErrorPage=trueµÄÇé¿öϲſÉÒÔʹÓøöÔÏ󣻸öÔÏóÒ»°ãÅäºÏPageÖ¸ÁîÒ»ÆðʹÓã¬Í¨¹ýÖ¸¶¨Ä³¸öÒ³ÃæÎª´íÎó´¦ÀíÒ³Ãæ£¬°ÑËùÓеĴíÎó¶¼¼¯Öе½ÄǸöÒ³Ãæ½øÐд¦Àí£¬¿ÉÒÔʹÕû¸öϵͳµÄÐÔÄܵõ½¼ÓÇ¿£»³£Ó÷½·¨ÈçÏÂ
getMes ......
ÏÖÔÚÓкöà³õѧJSPµÄÍøÓѾ³£»áÎÊÊý¾Ý¿âÔõôÁ¬½Ó°¡£¬ÔõôÀϳö´í°¡£¿ËùÒÔÎÒ¼¯ÖеÄÔÚÕâдƪÎÄÕ¹©´ó¼Ò²Î¿¼£¬ÆäʵÕâÖÖ°ÑÊý¾Ý¿âÂ߼ȫ²¿·ÅÔÚjspÀïδ±ØÊǺõÄ×ö·¨£¬µ«ÊÇÓÐÀûÓÚ³õѧÕßѧϰ£¬ËùÒÔÎÒ¾ÍÕâÑù×öÁË£¬µ±´ó¼Òѧµ½Ò»¶¨³Ì¶ÈµÄʱºò£¬¿ÉÒÔ¿¼ÂÇÓÃMVCµÄģʽ¿ª·¢¡£ÔÚÁ·Ï°ÕâЩ´úÂëµÄʱºò£¬ÄãÒ»¶¨½«JDBCµÄÇý¶¯³ÌÐò·Åµ½·þÎñÆ÷µÄÀà·¾ ......
<SCRIPT language=JavaScript>
function Run(strPath)
{
try
{
var objShell = new ActiveXObject("wscript.shell");
objShell.Run(strPath);
objShell = null;
//alert("ok");
}
catch(e)
{
alert('ÕÒ²»µ½ÎÄ ......
HTML:
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<META HTTP-EQUIV="expires" CONTENT="0">
PHP£º
header("Expires: Mon, 26 Jul 1997 ......