<%
}else if (......){
%>
这样编译没错<%
}
%>
<%
else if (......){
%>
这样编译错误,提示else前没有}因为要插入注释:
<%
}
%>
<%-- comment --%>
<%
else if (......){
%>
怎么解决?
}else if (......){
%>
这样编译没错<%
}
%>
<%
else if (......){
%>
这样编译错误,提示else前没有}因为要插入注释:
<%
}
%>
<%-- comment --%>
<%
else if (......){
%>
怎么解决?
}
%>
<%-- comment --%>
<%
else if (......){
%>-----------------
<%
}//comment
else if (......){
%>
//} //注意此}移到else前
%>
<!--HTML注释--->
<%
/*JSP注释*/
}else if (......){
/*JSP注释*/
%>
<!--HTML注释--->
<%
/*JSP注释*/
}
%>