<% if(${porfiles.bdb}.equals("0")){
%>
<td> <input type="hidden"/></td>
<%}else if(){
%>
<td><a href="javascript:;" onclick="bigmoments('${porfiles.jeq },${porfiles.jgr },${porfiles.iwn },${porfiles.jyf }')"><img
src="img/penyou.jpg" style="width: 36;height: 36"></a> <input
type="hidden" id="eeq" value="${porfiles.jeq }" /></td>
<%};%>
错误::
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 344 in the jsp file: /siteuser.jsp
Syntax error, insert ") Statement" to complete IfStatement
341: <td>${porfiles.jyf }</td>
342: <td>${porfiles.jaddress }</td>
343:
344: <% if(${porfiles.bdb}.equals("0")){
345: %>
346: <td> <input type="hidden"/></td>
347:
An error occurred at line: 348 in the jsp file: /siteuser.jsp
Syntax error, insert "}" to complete Block
345: %>
346: <td> <input type="hidden"/></td>
347:
348: <%}else if(){
349: %>
350: <td><img
351:
An error occurred at line: [507] in the generated java file: [D:apache-tomcat-7.0.42workCatalinalocalhostimfenceorgapachejspsiteuser_jsp.java]
Syntax error on token "}", { expected
给看看这是什么错,明明觉得没有错误!
语法错误,看错误提示明显是jsp编译错误
这个地方的语法是有问题的
jsp里面<% //这里面正常java语法 有就说说不会识别你这种写法 el表达式之类的%>
你想使用el表达式就不要在<%%>里面使用
在外面使用就好了