这样在action中式不可能得到你要的东西的,因为你根本就没有定义变量存储这个属性并且传到action中去。
你可以定义一个文本域,将文本域的值指定为这个属性,然后在action中获取。

解决方案 »

  1.   

    谢谢楼上的,但是怎样将文本域的值指定为这个属性呢?
    <html:text property="test" value=""/>
    value后面应该写什么?
      

  2.   

    <html:text property="test" value="<bean:write name='wsbs_query' property='tjdsbh' />"/>
      

  3.   

    <html:text property="test" value="<bean:write name='wsbs_query' property='tjdsbh' />"/>
    这样写不对的,我试过了,返回的是“<bean:write name='wsbs_query' property='tjdsbh' />”字符串
      

  4.   

    <input type="hidden" name="test" value='<bean:write name="wsbs_query" property="tjdsbh" />'>