日期:2014-05-20  浏览次数:20837 次

为什么点击提交按纽可以将form表单中的内容提交,点击超连接就不行呢??
<html:form     action   =   "dothing "   >
      <html:hidden   property   =   "username "   value= "${a.username} "/>  
      <html:hidden   property   =   "password "   value= "${a.password} "/>  
      <bean:write   name   =   "a "   property   =   "username "/> <html:submit   value   =   "showinfo "/>
    </html:form>
      <html:form     action   =   "dothing "   >
      <html:hidden   property   =   "username "   value= "${a.username} "/>  
      <html:hidden   property   =   "password "   value= "${a.password} "/>  
      <bean:write   name   =   "a "   property   =   "username "/>
      <html:link     action     =   action   =   "dothing "   > showinfo </html:link>
      </html:form>
为什么点击提交按纽可以将form表单中的内容提交,点击超连接就不行呢??

------解决方案--------------------
沙发...