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

JSPÒ³ÃæÖÐÎÞ·¨ÏÔʾCSSÖеı³¾°Í¼Æ¬

jspÒ³Ãæµ÷Óà <link type="text/css" rel="stylesheet" href="css/style.css"/>Ñùʽ±í
ÆäËûÑùʽ¶¼¿ÉÒÔÔÙÒ³ÃæÕý³£ÏÔʾ
.button-qingchu{background:url(images/qingchu.jpg); width:70px; height:30px; border:0px;} ÏñÕâÑùµÄ±³¾°Í¼Æ¬Ñùʽ¾ÍÏÔʾ²»³öͼƬÊÇʲôÎÊÌ⣡ Myeclipse 6.5
ÔÚhtmlÖж¼¿ÉÒÔÏÔʾ ÔÚjspÖÐÏÔʾ²»³öÀ´£¡²»¹ý°ÑÑùʽдÔÚjspÒ³Ãæ ²¿·Ö ¾Í¿ÉÒÔÏÔʾ³öÀ´
<style type="text/css">
.button-qingchu{background:url(images/qingchu.jpg); width:70px; height:30px; border:0px;} </style>
µ÷ÓÃÑùʽ±í¾ÍÏÔʾ²»³ö£¡
images/qingchu.JPG ¸Ä³ÉÕâÑù ·¾¶Ò²¸ÄÁË url(../images/qingchu.JPG); Ò»ÑùÏÔʾ²»³öÀ´
====½â¾ö========================================================================
·ÅÔÚcss/style.cssÕâÀïÃæʱ£¬ÒòΪÔÚcssĿ¼Ï£¬
·ÅJSPÒ³Ãæʱ³öÀ´images/qingchu.jpgÖ¤Ã÷imagesºÍcssºÍjspÒ³ÃæÔÚͬһĿ¼
ÄãµÄ½á¹¹ÊÇÕâÑùµÄ
css/style.css
images/qingchu.jpg
*.jsp
ËùÒÔÄãÖ±½ÓдÔÚjspÒ³ÃæÉÏʱ»áÏÔʾ³öÀ´£¬µ«Äã·ÅÔÚcss/style.cssÖÐʱ£¬Í¼Æ¬Â·¾¶ÒªÏà¶ÔÓÚcssÎļþ
¼´Òª¸Ä³É../images/qingchu.jpg
¶øÇÒÎļþÃûµÄ´óСдһÑùÒªÌرð×¢Ò⣬JAVAÊÇ´óСдÇø·ÖµÄ£¬ËùÒÔa.jpgºÍA.jpgÔÚjavaÀïÊDZ»ÊÓΪ²»Ò»ÑùµÄ


Ïà¹ØÎĵµ£º

FusionChartsʾÀý ǰ̨jsp¡¢jquery£¬ºǫ́Ϊservlet

¹ØÓÚһЩFCFµÄ»ù´¡¸ÅÄî¿ÉÒÔÔÚgoogleÉÏÃæËÑË÷“FusionChartsFree ÖÐÎÄ¿ª·¢Ö¸ÄÏ”¡££¨×¢Ò⣬Õâ¸ö×ÊÁÏÀïÃæ¶ÔÓÚÖÐÎÄÂÒÂëµÄÎÊÌⲢûÓÐ×ö³ö½â¾ö£¬½â¾ö·½·¨²Î¿¼£ºhttp://yongboy.javaeye.com/blog/270092£©
ÔÚÁ˽âÁËһЩ±ØÒªµÄ¸ÅÄîºó£¬²ÅÊDZ¾ÎĵÄÖص㣬×öÒ»¸öºǫ́ΪservletµÄFCFµÄÀý×Ó£¨×¢Ò⣺´ËÀýÖÐjs¿ò¼ÜʹÓÃjquery£© ......

jspÖ®session

session¾ÍÊÇÒ»¸öÈ«¾Ö±äÁ¿£¬ÊÇä¯ÀÀÆ÷Ïß³ÌÔÚ·þÎñÆ÷¶ËµÄ´úÀí¡£web·þÎñ³ÌÐòÖ»Òª´ò¿ª£¬session¾Í»á´æÔÚ£¬µ±ÄãµÚÒ»´Î·ÃÎÊʱ£¬session»á×Ô¶¯ÎªÄã·ÖÅäÒ»¸ösession ID£¬ËùÒÔsessionΪн¨Á¢µÄ£¬ËùÒÔsession.isNew()Ϊtrue¡£µ±ÄãË¢ÐÂÒ³Ãæʱ£¬Õâ¸ösession IDÒ»Ö±´æÔÚ(session.getId()²»±ä)£¬²»»áÏûʧ£¬ËùÒÔsession.isNew()Ϊfalse¡£³ý· ......

Jsp ÏÂÔØÔ¶³ÌÎļþÖÁ·þÎñÆ÷

ÎÒÊÇÔÚÒÔÏÂÕâÁ½ÖÖÇé¿öÏÂʹÓõ½Õâ¸öÎļþµÄ£º
µ±ÄãÐèÒªÏò·þÎñÆ÷ÉÏ´«Ò»¸öÎļþ£¬µ«ÊÇÕâ¸öÎļþ²¢²»ÔÚÄãµÄ±¾»úÉÏ£¬¶øÇÒÔÚÁíһ̨·þÎñÆ÷ÉÏ£¬µ«ÊÇÄãÓÖûÓб¾Ì¨·þÎñÆ÷µÄÔ¶³Ì×ÀÃæµÄȨÏÞÈÃËüÈ¥ÏÂÔØÄǸöÎļþ£¬ÕâʱÄã¾Í¿ÉÒÔʹÓôËÎļþÈ¥ÏÂÔØ¡£
¶þ¾ÍÊÇÄ¿±ê·þÎñÆ÷µÄÉÏ´«Ëٶȷdz£µÄÂý£¬ÓÚÊÇÎÒ½«ÎļþÏÈ´«µ½ÁËÁíһ̨ÉÏ´«ËٶȽϿìµÄ·þÎñÆ÷ÉÏ£¬ ......

Ц̸IEϵÁÐ6.0µ½8.0ÍøÕ¾CSS¼æÈÝ

·½·¨³¬¼¶¼òµ¥Èý¾ä»°£º
µÚÒ»£º×öÍøÕ¾ÓÃIE7.0£¬Õâ¸ö°æ±¾ÊÇ×î±ê×¼µÄ°æ±¾¡£ÏȲ»Òª¹Ü±ðµÄä¯ÀÀÆ÷ÊÇ·ñ¼æÈÝ¡£
µÚ¶þ£ºÍøÕ¾×öÍ꣬ºÃÁËÓÃIE6.0£¬IE8.0²âÊÔһϣ¬ºÃÁË£¬IE6.0ÓÐС²¿·Ö±ä¶¯£¬IE8.0²ÒÄ¿È˶ã¬ÏÖÔÚÏÈÀ´½â¾öIE6.0µÄÎÊÌâ
         IE6.0ÊÇÏÖÔÚ×îÀÃ×îÀ¬»øµÄä¯ÀÀÆ÷°æ±¾£¬o(︶ ......

jsp µ÷ÓÃconnection

function editFormSubmit() {
    var dataForm = Ext.getDom("dataForm");
    var conn = new Ext.data.Connection({url:"edit.action"});
    conn.request({
     params:{
      selectId: ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ