你可以试试
<bean:define id="assignto" name="row" property="assignTo"/>
onclick="('templateSelectAction.do?bugId=<%=assignto%>',
'newwindow','status:yes;resizable:yes;help:no;dialogHeight: 700px; dialogWidth: 600px');你那种可能是' "引起问题

解决方案 »

  1.   

    用一个隐藏表单就可以把值传递过去。<input type="hidden" name="bean" value=<%主键的值%>,然后在弹出窗口页面REQUEST即可。方法有几种,你自己试试看吧。
      

  2.   

    谢谢傲龙兄弟的回复!现在用那种方法不报jsp错误,说明是可以用的,但是用这个
    <bean:define id="assignto" name="row" property="assignTo"/>
    在后台用String templateId = request.getParameter("templateId");没有取道值,打出来的值为
    null,我是这么用的:
     <logic:iterate id="row" name="ListTemplateTableObj" scope="request">
        <tr >
        <td height="30">
    <font size="2">
        <bean:write name="row" property="temStr" filter="false"/>
            </font>
         </td>
          <td height="30">
    <bean:define id="assignto" name="row" property="temId" />
      <html:button property="confirm" 
     onclick="open('downLoadsAction.do?button_kind=exportBugTemplate&
     templateId=<%=assignto%>','newwindow','status:yes;resizable:yes;help:no;dialogHeight: 700px; dialogWidth: 600px');" > 
        <bean:message key="button.bugoutput"/>
        </html:button>
         <font size="2">
           <bean:write name="row" property="temName" filter="false"/>
        <bean:write name="row" property="temId" filter="false"/>
            </font>
     </a>
        </td>
        </tr>
    </logic:iterate>