<td align="Left">
   <a href="javascript:parent.detail('taskDetail.jsp?id=<bean:write name='Wf' property='id' />');">
       <bean:write name="Wf" property="subject" />
   </a>
</td>它在页面上显示的是:
比如:<bean:write name="Wf" property="subject" />的内容是:“大风车”<td align="Left">   
    大风车
</td>

解决方案 »

  1.   

    看html代码,应该是link的text没有内容。
      

  2.   

    在myeclipse中都写好了,就是在运行时页面上没有超链接出现啊,看其它的页面上的相同代码都没有事啊
      

  3.   

    <body style="MARGIN:15px 6px 12px">
    <form id="Form1" method="post">
    <input type="button" id="btnReloadDG" style="DISPLAY:none" />
    <TABLE id="Table2" style="TABLE-LAYOUT: fixed" cellSpacing="0"
    cellPadding="0" width="100%" border="0">
    <TBODY>
    <TR>
    <TD vAlign="bottom" width="367">
    <table class="ooih" border="0" cellspacing="0" cellpadding="0"
    width="400" height="19">
    <tr>
    <td class="ooihj" nowrap onclick="ghbq(this)">
    进行中
    </td>
    <td class="ooihs" nowrap onclick="ghbq(this)">
    已超期
    </td>
    <td class="ooihs" nowrap onclick="ghbq(this)">
    未开始
    </td>
    <td class="ooihs" nowrap onclick="ghbq(this)">
    已完成
    </td>
    <td class="ooihs" nowrap onclick="ghbq(this)">
    所有任务
    </td>
    <td class="ooihs" nowrap onclick="ghbq(this)">
    管理我安排的任务
    </td>
    <td class="ooihx" width="100%">
    &nbsp;
    </td>
    </tr>
    </table>
    </TD>
    <TD class="searchtd">
    <img src="images/find.gif" style="cursor:hand" alt="查找"
    onclick="document.getElementById('divSearch').style.display='inline';this.style.display='none';" />
    <div id="divSearch" style="display:none">
    <!-- 隐藏的查找,单击后出现;  -->
    <select name="fields">
    <option value="main">
    标题
    </option>
    <option value="title">
    内容
    </option>
    <option value="author">
    发布人
    </option>
    <option value="tType">
    类型
    </option>
    <option value="isImpo">
    重要性
    </option>
    </select>
    <input type="text" name="keyWord" size="10" alt="请输入关键字" />
    <input type="image" src="images/find.gif" />
    <input type="image" src="images/restore.gif" />
    </div>
    </TD>
    </TR>
    <TR>
    <td
    style="padding:17px 3px 3px;BORDER: #ccc 1px solid; BORDER-top: #ccc 0 solid;BACKGROUND: white"
    colSpan="2">
    <%
    //第一要查询的进行中的任务,第二要查询的是超期的任务
    //第三要查询的是未开始的任务,第四是要查询已完成的任务
    //第五要查询的是所有的任务,第六要查询的是自己安排的任务 // 需要得到当前登录用户的id ApplicationContext context = WebApplicationContextUtils
    .getRequiredWebApplicationContext(this.getServletConfig()
    .getServletContext());
    //修改日期格式


    //做第一个标签需要显示的内容
    WfDAO dao = (WfDAO) context.getBean("WfDAO");
    List list1 = dao.getAllIng();
    %>
    <table class="ooib" id="obody" cellspacing="0" cellpadding="0"
    width="100%" border=1>
    <tr>
    <td>
    <%
    if (!list1.isEmpty()) {
    int i=0;
    Wf wf = new Wf();
    %>
    <table style="border-right: 1px none #CCCCCC;border-top: 1px none #CCCCCC;border-left: 1px none #CCCCCC;border-bottom: 1px none #CCCCCC;BACKGROUND: white"
    width="100%" border=1 cellspacing="0" cellpadding="0">
    <tr align="Center" valign="middle" style="color:Black;background-color:#F3F3F3;height:22px;">
    <td nowrap="nowrap" style="width:7%;">
    任务来源
    </td>
    <td style="width:50%;">
    任务主题
    </td>
    <td nowrap="nowrap" style="width:17%;">
    开始时间
    </td>
    <td nowrap="nowrap" style="width:17%;">
    计划完成时间
    </td>
    <td nowrap="nowrap" style="width:7%;">
    重要性
    </td>
    <td nowrap="nowrap" style="width:2%;">
    状态
    </td>
    </tr>
    <!-- 具体内容 -->
    <logic:iterate id="Wf" collection="<%=list1%>">
    <%
    wf = (Wf)list1.get(i);
    i++;
     %>
    <tr align="Center" valign="Middle" onMouseOver="mon(this);"
    onMouseOut="mout(this);" style="color:#001222;height:23px;">
    <td>
    <span class='self'> <bean:write name="Wf"
    property="users" /> </span>
    </td>
    <td align="Left">
    <a href="javascript:parent.detail('taskDetail.jsp?id=<bean:write name='Wf' property='id' />');">
    <bean:write name="Wf" property="subject" /></a>
    </td>
    <td nowrap="nowrap">
    <%=wf.getStartTime().substring(0,15)%>
    </td>
    <td nowrap="nowrap">
    <%=wf.getEndTime().substring(0,15)%>
    </td>
    <td nowrap="nowrap">
    <bean:write name="Wf" property="importLev" />
    </td>
    <td nowrap="nowrap">
    <logic:equal name="Wf" property="edited" value="1">
    <img src="images/over.gif" alt="已经完成" />
    </logic:equal>
    <logic:equal name="Wf" property="edited" value="0">
    <img src="images/ing.gif" alt="进行中" />
    </logic:equal>
    </td>
    </tr>
    </logic:iterate>
    </table>
    <%
    } else {
    %>
    <table class="ooib" id="obody" cellspacing="0" cellpadding="0" height="50"
    width="100%" border="0"
    style="border-right: 1px none #CCCCCC;border-top: 1px none #CCCCCC;border-left: 1px none #CCCCCC;border-bottom: 1px none #CCCCCC;BACKGROUND: white">
    <tr>
    <td>
    <center>
    <img src='images/info.gif' />
    暂无此类任务!
    </center>
    </td>
    </tr>
    </table>
    <%
    }
    %>
    </td>
    </tr>下面还有,都是些重复的了,其功能要求的是在不同的tab 下面去显示不同的内容
      

  4.   

    有js,是控制tab显示顺序的,应该没有太大关系吧
      

  5.   

    让你贴html代码,你贴了jsp代码郁闷,从你贴的代码怎么能看出你的<bean:write name="wf" property="subject" />输出了内容?