我有一些jsp代码:
<%
if((Integer.parseInt((rs.getString("setter")).trim())==1) and
(Integer.parseInt((rs.getString("scrutinizer")).trim())==1))
{
out.println("Both")
}
else if(Integer.parseInt((rs.getString("setter")).trim())==1)
{
out.println("Question Setter");
}
else if(Integer.parseInt((rs.getString("scrutinizer")).trim())==1)
{
out.println("Scrutinizer");
}
%>
我收到此错误:
) Expected
; Expected
else without if Illegal Start of type. missing return statement
试图说的错误信息是什么?