当前位置:首页 » 多媒体相关

在 <script> </script> 之间能不能出现struts的标签和jsp的<%... %>语句


谢谢!!!!!!!!!

推荐阅读

  • 青年报社携手ZCOM 报业首出电子杂志开先河 [详细内容]
  • 蝴蝶外观 明基FP783个性化液晶不足2300元 [详细内容]
  • K750+本本无线上网之蓝牙篇 [详细内容]
  • 家电三巨头上海血拼 连锁店总数将达160家 [详细内容]
  • 高空跌落 大显智能CU928跌3000余元 [详细内容]
  • 6230i看电视教程 [详细内容]
  • 退市手机卖场管三包 维修无望手机可获补偿 [详细内容]
  • 网友回答:
    网友:wangwd

    这样做是可以的。给你个例子  
      function   gettext(){  
              var   selectlist   =   document.essentialinformation.s1;  
              selecttext   =   selectlist.options[selectlist.selectedindex].value;  
              alert("the   value   is   "   +   selecttext   )  
              if(selecttext   ==   "00001"){  
                  document.essentialinformation.text1.value   =   "<%=textdeparttext%>";  
              }  
              if(selecttext   ==   "00002"){  
                  document.essentialinformation.text1.value   =   "<%=textpersonranktext%>"  
              }  
          }

    网友:yu_shi_bin

    可以:  
                      function   clinetalert()   {  
                                       
                                      <logic:messagespresent>  
                                              <html:messages   id="error">  
                                                          alert("<bean:write   name="error"/>");  
                                                          return;  
                                              </html:messages>  
                                      </logic:messagespresent>  
                              }  
     

    .

    讨论区

    Login