JSP ÍøÒ³ÖÐÈçºÎÈ¥µôradioÿ¸öÑ¡ÏîÇ°µÄÄǸöСԲȦ
ÈçÌ⣬ÎÒÊÇÓÃstruts2×öµÄÍøÒ³£¬ÓÃÁËradio±êÇ©£¬Ã¿¸öÑ¡ÏîÇ°¶¼ÓÐÒ»¸öСԲȦ£¬ÎÒÐèÒª°ÑСԲȦȥµô£¬µ¥»÷×־ͺ㬱»Ñ¡ÖеÄÑ¡Ïî±³¾°±äÉ«¡£
¾ÍÏñ´ó¶àÊýÍøÕ¾µÄ·ÖÀà¼ìË÷£¬±ÈÈçÕâ¸öÍøÕ¾µÄÄÇÑùµÄ¸ù¾Ý¸÷ÖÖÌõ¼þµÄʵʱËÑË÷£º
http://www.onlystu.com/house.php?modid=010003&act=chuzu
²»Ã÷°×£¬Ñ¡ÔñÌõ¼þ¸úradio±êÇ©ÓйØϵÂ𣿣¿
Ò»¿´¾ÍÊÇa±êÇ©ÉèÖõÄÑùʽ
ÎÒKAO£¬
Õâ¸öÄãÄÜ¿´³Éradio£¡
Ç¿
Çë˵³ö½«½â¾ö·½°¸£¬Ë¶¼Óв»»áµÄʱºò
ÕâÊÇÇ°ºǫ́µÄ½áºÏ
ÎÄ×ÖÏȶ¼·ÅÔÚ²ã»òspan
É趨Á½ÖÖCSSÀࣨ.c1 .c2£©
Ò»ÖÖÊÇÑ¡ÖкóµÄ£¬Ò»ÖÖÊÇûѡÖеÄ
Ñ¡ÖÐÒÔºóµÄ °ÑÑ¡ÖеIJãÓÃc1±íʾ£¬ÆäËüµÄÓÃc2
´óÖ¾ÍÕâÑù
<label><input type="radio" style="display:none">text</label>
<label><input type="radio" style="display:none">text</label>
//js
var radioList = document.getElementsByTagName("input");
for(var i=0;i<radioList.length;i+)
{
radioList[i].parentNode[0].style.background="#fff";
radioList[i].onclick=function()
{
this. parentNode.style.background="#ccc";
}
}
//jquery
$("radio").click(function(){
$("label").css("background","#fff");
$(this).parent().css("background","#ccc");
});
ÉÏÃæµÄjs²¿·Öд´íÁË ÕâÑùд
var radioList = do
Ïà¹ØÎÊ´ð£º
ÔÚASPϵıäÁ¿£¬Èç¡°2009-09-09¡°£¬×÷Ϊ²ÎÊý£¬´«ÈëJSPº¯ÊýÄÚ£¬±äΪÂÒÂ룬ÇëÎÊÈçºÎ½â¾ö
asp´«µ½jsp?ûÅö¹ý...up up
¸ñʽ»¯°¡£¡
ASPÖÐÈÕÆÚÊDz»ÊÇÒÔ×Ö·û´®µÄÐÎʽ´«ÈëJSPº¯ÊýÖеģ¿
Èç¹û²»ÊÇ×Ö·û´®µÄ»°£ ......
Ò»¸ö¾²Ì¬µÄhtmlÒ³Ã棬ÃÀ»¯£¬½çÃæ²¼¾ÖÒѾ´¦ÀíºÃÁË £¬ÔÚ±àд³ÌÐòµÄʱºòÐèÒªÔÚת»¯³ÉJSPÒ³Ã棬
ËùÒÔн¨Ò»¸öJSPÒ³Ã棬½²ÔÀ´µÄ´úÂ뿽±´µ½ÀïÃæÈ¥£¬½á¹û²¼¾Ö±äÁË£¿
²»´æÔÚ·¾¶ÎÊÌâ!
ûÈË? Õæʧ°Ü!
......
include.jspÖÐ
<jsp:include page="divide.jsp?value1=2&value2=3 flush="true">
value1 , value2 µÄÖµ¿ÉÒÔ´ÓÉÏÒ»¸ö´«¸øinclude.jspµÄdata.jspÖÐÈ¡Âð£¿
Èç¹û¿ÉÒÔÕâôд° ......
ÎҵĿª·¢µÄƽ̨ÊÇMyeclipes6.0 + tomcat5.x + mysql
ÎÒËùÓеıàÂ뷽ʽ¶¼ÊÇÓõÄUTF-8
ÎÒÖ»ÓÃÁËStrtus¿ò¼Ü
ÔÚÒ»¸öformÖÐÈçÏÂÓõÄÊÇpostµÄÌá½»·½Ê½£º
<form class="form" action=&quo ......
×î½üÓÐÒ»¸ö´ó×÷ÒµÏë¸ãÒ»¸öͼƬ¸ñʽת»»µÄwebapp£¬ÆäÖÐÓõ½ÁËbase64±àÂ룬ÓÃϱߵĴúÂëÈç¹ûÊÇ´¿JAVAûÓÐÎÊÌ⣬µ«Ð´ÔÚJSPÀï¡°return encoder.encode(data); ¡±Õâ¾ä¾Í×ܱ¨´í¡°org.apache.jasper.JasperException¡±£¬ÍøÉ ......