The method TId() is undefined for the type shouye1_jsp
33:  %>
34: <%=TId%>
35: <%
36: if(TId()!=0)
37: {
38: String sql3="select top1 from topic where TSId='"+SId+"'";
39: ResultSet rs3=pool.executeQuery(sql3);
An error occurred at line: 86 in the jsp file: /shouye1.jsp
SName cannot be resolved
83:   </tr>
84:   <tr>
85:     <td height="48"><img src="tu/gushi1.jpg" />&nbsp;</td>
86:     <td><%=SName%></td>
87:      <td><%=rs.getString("SContent")%></td>
88:     <td><%=TId%></td>
89:     <td> <%=rs3.getString("TName")%></td>这是源代码<%
 String TId=null;
  String sql2="select count(*) as TId from topic where TSId='"+SId+"'";
 ResultSet rs2=pool.executeQuery(sql2);
 rs2.next();
 %>
<%=TId%>
<%
if(TId()!=0)
{
String sql3="select top1 from topic where TSId='"+SId+"'";
ResultSet rs3=pool.executeQuery(sql3);
%>
<a href="topic_detail?TId=<%=rs3.getString("TId")%>"><%=rs3.getString("SContent")%></a>
<%=rs3.getString("TAuthor")%>
<%=rs3.getString("TTime")%>
<%=rs3.getString("TName")%>
<% }%>
<%} %>
<html>
<table align="center" >
<tr><td><center><font size="9">L*L社区论坛</font></center></td></tr>
</table>
<body background="tu/bb.jpg">
<form id="form1" method="post" action="shouye1.jsp">
<table><tr><img src="tu/pkq.jpg"  width="1030" height="40"/></td>
       </table><form id="form5"  method="post" action="denglu.html">
<table width="944" height="258" border="0">
  <tr>
    <td width="73" height="43">&nbsp;</td>
    <td width="147"><h4 class="STYLE8">板块名称</h4></td>
    <td width="147"><h4 class="STYLE8">板块说明</h4></td>
    <td width="200"><h4 class="STYLE8">帖子总数</h4></td>
    <td width="294"><h4 class="STYLE8">帖子标题</h4></td>
    <td width="104"><h4 class="STYLE8">发帖人</h4></td>
    <td width="104"><h4 class="STYLE8">发帖时间</h4></td>
  </tr>
  <tr>
    <td height="48"><img src="tu/gushi1.jpg" />&nbsp;</td>
    <td><%=SName%></td>
     <td><%=rs.getString("SContent")%></td>
    <td><%=TId%></td>
    <td> <%=rs3.getString("TName")%></td>
    <td><%=rs3.getString("TAuthor")%></td>
    <td><%=rs3.getString("TTime")%></td>