.......<%}else{
   MemberForm form=(MemberForm)session.getAttribute("form");
%><table width="749" border="0" align="center" cellspacing="0">
            
              <tr>
                <td width="156" height="25" bgcolor="#62B7DC"><font color="#FB6801"><%=form.getUsername()%>,</font>欢迎回来</td>
            
              
            
 
              <td width="158" height="25" bgcolor="#62B7DC" >您的姓名:<%=form.getTruename()%></td>
             <td width="131" bgcolor="#62B7DC" with=200">您是:<%=form.getType() %>
             </td><%if (form.getType()=="学员"){%>
             <td width="148" align="right" valign="middle" bgcolor="#62B7DC">
               <div align="center">
                 <input type="submit" name="button" id="button" value="教员管理中心" onClick="javascript:jy()">
               </div>
             </td>
              <% }else{ %>
                 <td width="148" align="right" valign="middle" bgcolor="#62B7DC">
               <div align="center">
                 <input type="submit" name="button" id="button" value="学员管理中心" onClick="javascript:xy()">
                   </div>
             </td>
                 <% }%>
              <td width="148" height="20" align="right" valign="middle" bgcolor="#62B7DC"><div align="left"><a href="javascript:quit()">安全退出</a></div>           </td>
              
              
            </table>

<%}%>
前面略去的是对是否登录的判断,后面我想根据Type的不同值得到不同的按钮,为什么无法实现啊