Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

jspÒ³Ãæ¿ØÖƵÄÎÊÌâ

Óм¸ÖÖÓû§£¬ÆäȨÏÞ²»Í¬¡£Ö»ÓÐÌض¨È¨ÏÞµÄÓû§²ÅÄܽøÐÐÏàÓ¦²Ù×÷¡£ÎÒÏëÔÚjspÒ³ÃæÀï½øÐÐÕâ¸öÉèÖÃ
<input type="submit" value="ÐÞ¸Ä"/> ,ÎÒÏëÈÃÖ»ÓÐÌض¨È¨ÏÞµÄÓû§²ÅÄÜ°´Õâ¸ö°´Å¥£¬·ñÔò±¨´í¡£Õâ¸ÃÔõôŪ£¿
Java code:
<%
if(checkPermission()){
%>
<input type="submit" value="ÐÞ¸Ä"/>
<%
}
%>


ûȨÏÞµÄ¸É´í²»ÏÔʾ²»ÏÔʾÕâ¸ö°´Å¥

½«Ã¿Ò»¸ö²Ù×÷¶¼ÉèÖÃÒ»¸öÖµ×öΪ¸ÃÓû§µÄȨÏ޵Ǽʱ²éѯ³öÀ´£¬´æÈësessionÖУ¬È»ºóÈçÀïÓû§ÓÐÕâ¸öȨÏÞ¾ÍÏÔʾÌá½»°´Å¥·ñÔò¾Í²»ÏÔʾ£¬Èç¹ûÒ»¶¨ÒªÏÔʾ£¬ÄǾÍÔÚµã»÷ºó£¬ÅжÏһϣ¬Õâ¸öÓû§µÄsessionÖÐÊÇ·ñÓжÔÓ¦Õâ¸ö°´Å¥µÄȨÏÞ£¬ÓÐÔò¼ÌÐø£¬·ñÔòÌáʾÐÅÏ¢¡«


Ïà¹ØÎÊ´ð£º

¹ØÓÚjspÂÛ̳ - Java / Web ¿ª·¢

ÎÒÏÖÔÚÏëÓÃsshÕûºÏÀ´×öÒ»¸öÂÛ̳£¬µ«Êý¾Ý¿â·½Ãæ²»ÐУ¬ÎÒÖ÷Òª²»»áÉæ¼°Êý¾Ý¿â£¬²»ÖªµÀ·¢Ìû±í£¬ºÍ»ØÌû±íÒªÈçºÎÉè¼ÆºÍÇø·Ö¡£²»ÖªµÀË­ÓÐÒ»¸ö¼òµ¥µÄ˼·£¬À´Éè¼ÆÕâЩ±í¡£Ð»Ð»ÁË¡£
·¢ÌûºÍ»ØÌûÓÃͬһÕÅ±í ¡£·¢Ìû id user ......

JSPÖеÄÖÐÎÄ×Ö·û´¦Àí

<%@ page contentType = "text/html;charset =gb2312"%>

<%!
    public String codeToString(String str)
  {
    String s =str;
  &nbs ......

JSP ÍøÒ³ÖÐÈçºÎÈ¥µôradioÿ¸öÑ¡ÏîÇ°µÄÄǸöСԲȦ

ÈçÌ⣬ÎÒÊÇÓÃstruts2×öµÄÍøÒ³£¬ÓÃÁËradio±êÇ©£¬Ã¿¸öÑ¡ÏîÇ°¶¼ÓÐÒ»¸öСԲȦ£¬ÎÒÐèÒª°ÑСԲȦȥµô£¬µ¥»÷×־ͺ㬱»Ñ¡ÖеÄÑ¡Ïî±³¾°±äÉ«¡£
¾ÍÏñ´ó¶àÊýÍøÕ¾µÄ·ÖÀà¼ìË÷£¬±ÈÈçÕâ¸öÍøÕ¾µÄÄÇÑùµÄ¸ù¾Ý¸÷ÖÖÌõ¼þµÄʵʱËÑË÷£º
ht ......

jspÒ³Ã涯̬ÇúÏßÉú³É

[color=#FF9900]ÎÒÏëÓÃÒ»¸öjspÒ³Ã涯̬µØÏÔʾһЩÊý¾Ý£¬ÕâЩÊý¾ÝÔÚjspÒ³ÃæÉÏÒÔÇúÏߵķ½Ê½ÏÔʾ£¬ÒòΪÕâЩÊý¾ÝÊÇʵʱµÄ·¢Ë͹ýÀ´µÄ£¬ËùÒÔÎÒÏëÇúÏßÒ²ÊÇʵʱµÄ½øÐб仯(ÀàËƹÉƱ²é¿´µÄÄÇÖÖÇúÏß)£¬¶ø²»Êǵã»÷¡®Ë¢Ð¡¯£¬¸÷Î ......

jsp ¼òµ¥µÄsessionÎÊÌâ¡£

±¾ÈË×öÁËÒ»¸öÄ£Ä⹺ÎïÍøÕ¾£¬Óöµ½Ò»Ð©ÎÊÌâ¡£
µÚÒ»¸öÓû§Ñ¡ÔñÁËA¡¢B¡¢CÉÌÆ·
È»ºóµÚ¶þ¸öÓû§Ö»Ñ¡ÔñDÉÌÆ·¡£
µã»÷²é¿´µÄʱºò£¬¹ºÎï³µÁгöA¡¢B¡¢C¡¢DËÄÖÖÉÌÆ·£¬ÇëÎÊÄÄÀï³öÁËÎÊÌ⣿
Java code:

<%@ page content ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ