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 ÊǸù·¾¶
°ÉËù
Ïà¹ØÎÊ´ð£º
ÎҵĿª·¢µÄƽ̨ÊÇMyeclipes6.0 + tomcat5.x + mysql
ÎÒËùÓеıàÂ뷽ʽ¶¼ÊÇÓõÄUTF-8
ÎÒÖ»ÓÃÁËStrtus¿ò¼Ü
ÔÚÒ»¸öformÖÐÈçÏÂÓõÄÊÇpostµÄÌá½»·½Ê½£º
<form class="form" action=&quo ......
ÎÊÌâ1.
ÈçºÎͨ¹ýRandomAccessFileÀàµÄseek()·½·¨½«Ö¸ÕëÒƶ¯µ½Îļþĩ⣬ÔÙÓÃwriteChars(String s)½«Êý¾ÝдÈëij¸öÎĵµÎļþ
ÎÊÌâ2.
StringTokenizerÊÇʲô¶«Î÷£¬¸ÉÂïÓõģ¿
ÓÉÓÚСµÜ³õѧjs ......
jsÖеķ½·¨£¬²»ÄÜÔÚjspÖе÷ÓÃÔõô½â¾ö£¿¼±£¡£¡!
²»Ã÷°×Òâ˼
ºÃºÃ¼ì²éÊDz»ÊÇ·¾¶µÄÎÊÌ⣬ºÜÓпÉÄÜ·¾¶²»¶Ôµ¼Öµ÷Óò»µ½
Ìùһϵ÷ÓõĴúÂë¿´¿´°¡~~
ÓÐûÓÐÕýÈ·ÒýÓÃjs£¿º¯ÊýÓÐûÓгõʼ»¯£¿....
jsp´úÂë±¾À´¾ ......
¼±ÓÃлл´ó¼ÒÁË ÇëËÙ»ØÌû×Ó
www.sharejs.com
ÕâÊǸöjavascript ÍøÕ¾
È¥ÀïÃæÕÒÕÒ js ÌØЧ£¬cssÑùʽ£¬¶¼ºÜ²»´íµÄ¡£
ÓÃÔÚ×Ô¼ºµÄjspÉÏ ºÜ˧µÄ¡£
ÎÒ×Ô¼º¿ª·¢µÄ¼¸¸öjspÒ³Ã涼ÓÃÁËÉÏÃæµÄÌØЧºÜºÃ£¬
½Ó·Ö£¬ÔÞ£¡ ......