下面是我的代码片段,我正在使用带有标记库的脚本。
<display:column title="Modify">
<%String userType=(String)session.getAttribute("userType");
if(userType.equalsIgnoreCase("D"))
{
%>
<html:link action="/deleteOwner.do?type=del&owner_id=${data.owner_id}">Delete</html:link>
<%} else if(userType.equalsIgnoreCase("A")){%>
<c:if test="${data.type == 'A'}">
<html:link action="/deleteOwner.do?type=del&owner_id=${data.owner_id}">Delete</html:link>
</c:if>
</display:column>
<%}%>
但我越来越
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 280 in the generated java file
Syntax error, insert "while ( Expression ) ;" to complete DoStatement