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

cssÑùʽÎÞ·¨ÏÔʾÔÚjspÒ³Ãæ

Ö±½Óͨ¹ýÁ´½ÓÌøתµ½jspÒ³ÃæµÄʱºòcssÑùʽÄÜÕý³£ÏÔʾ£¬
µ«ÊÇͨ¹ýactionºǫ́´¦ÀíÍêÒµÎñÂß¼­ºóÌøתÓÃmappingÌøתµ½jspµÄʱºòÕû¸öÑùʽ¶¼Ã»ÓÐÏÔʾÁË
Ôõô½â¾ö
ллÁË
ÔõôûÈ˻شð°¡

¾ÍÊÇͨ¹ýspring·ÃÎÊjsp cssÏÔʾ²»³öÀ´

ÔÚÒ³ÃæÌøתµÄʱºò·¾¶·¢ÉúÁ˱仯£¬¿ÉÒÔ³¢ÊÔÓþø¶Ô·¾¶¡£

ÄãjspÒ³Ãæµ¼ÈëÑùʽµÄ·¾¶Ð´¾ø¶Ô·¾¶
Èç¹ûÄãдµÄÏà¶Ô·¾¶ ÒòΪÌøתµÄ·½Ê½²»Í¬ ·¾¶¾Í²»Í¬ÁË

Óþø¶Ô·¾¶
/ÏîÄ¿/CSS·¾¶

  ÎÒÕâÎÊÌâÄãµÃ×¢Òâһϣ¬ÎÒÔÚJSPÖÐÒ²Óöµ½¹ýÕâ¸öÎÊÌ⣡ȷ¶¨CSSÒýÈë·¾¶ÕýÈ·µÄʱºò
Java code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">


Ò²¼ì²éÏÂJSPÍ·²¿µÄDOCTYPEÉùÃ÷¡£ÈçÉÏ¡£¡£
ÔÚ×ñÑ­±ê×¼µÄÈκÎWebÎĵµÖУ¬DOCTYPE¶¼ÊÇÒ»Ïî±ØÐèµÄÔªËØ¡£Ëü»áÓ°Ïì´úÂëÑéÖ¤£¬²¢¾ö¶¨ÁËä¯ÀÀÆ÷×îÖÕÈçºÎÏÔʾÄãµÄwebÎĵµ¡£¡£¡£
н¨JSPµÄÉùÃ÷£¬Í¬Ñù²»ÄÜÏÔʾCSSÑùʽµÄʱºò£¬¾Í»»¸öÄÜÕý³£ÏÔʾµÄÉùÃ÷²¿·Ö£¬Ó¦¸Ã¾ÍûÎÊÌ⣬¥Ö÷ºÃÔË!

¼ì²éÒ»ÏÂÄãµÄ·¾¶ÎÊÌâ°É£¡

½¨ÒéÓÃstrutsµÄ·½·¨Ð´Â·¾¶

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
×¢Òâ ÕâÀïµÄbasePath  ÊǸù·¾¶
  °ÉËù


Ïà¹ØÎÊ´ð£º

jsp ÖÐÂÒÂëµÄ - Java / Web ¿ª·¢

ÎҵĿª·¢µÄƽ̨ÊÇMyeclipes6.0 + tomcat5.x + mysql
ÎÒËùÓеıàÂ뷽ʽ¶¼ÊÇÓõÄUTF-8 
ÎÒÖ»ÓÃÁËStrtus¿ò¼Ü
ÔÚÒ»¸öformÖÐÈçÏÂÓõÄÊÇpostµÄÌá½»·½Ê½£º
 <form class="form" action=&quo ......

¹ØÓÚjspµÄһЩСÎÊÌâ - Web ¿ª·¢ / JavaScript

ÎÊÌâ1.
 ÈçºÎͨ¹ýRandomAccessFileÀàµÄseek()·½·¨½«Ö¸ÕëÒƶ¯µ½Îļþĩ⣬ÔÙÓÃwriteChars(String s)½«Êý¾ÝдÈëij¸öÎĵµÎļþ
ÎÊÌâ2.
 StringTokenizerÊÇʲô¶«Î÷£¬¸ÉÂïÓõģ¿
  ÓÉÓÚСµÜ³õѧjs ......

jsÔÚjspÖв»Äܵ÷ÓÃÎÊÌâ¡£

jsÖеķ½·¨£¬²»ÄÜÔÚjspÖе÷ÓÃÔõô½â¾ö£¿¼±£¡£¡!
²»Ã÷°×Òâ˼

ºÃºÃ¼ì²éÊDz»ÊÇ·¾¶µÄÎÊÌ⣬ºÜÓпÉÄÜ·¾¶²»¶Ôµ¼Öµ÷Óò»µ½

Ìùһϵ÷ÓõĴúÂë¿´¿´°¡~~
ÓÐûÓÐÕýÈ·ÒýÓÃjs£¿º¯ÊýÓÐûÓгõʼ»¯£¿....

jsp´úÂë±¾À´¾ ......

ÎÒÏë×ö¸öjspÁÄÌìÊÒË­ÄÇÀïËزģ¿

¼±ÓÃлл´ó¼ÒÁË ÇëËÙ»ØÌû×Ó


www.sharejs.com
ÕâÊǸöjavascript ÍøÕ¾
È¥ÀïÃæÕÒÕÒ js ÌØЧ£¬cssÑùʽ£¬¶¼ºÜ²»´íµÄ¡£
ÓÃÔÚ×Ô¼ºµÄjspÉÏ ºÜ˧µÄ¡£
ÎÒ×Ô¼º¿ª·¢µÄ¼¸¸öjspÒ³Ã涼ÓÃÁËÉÏÃæµÄÌØЧºÜºÃ£¬

½Ó·Ö£¬ÔÞ£¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ