求大神帮忙看看下面这段代码的意思,谢谢!

Expression pro.colName is undefined on line 99, column 49 in listJsp.jsp.
The problematic instruction:
----------
==> ${pro.colName} [on line 99, column 47 in listJsp.jsp]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression pro.colName is undefined on line 99, column 49 in listJsp.jsp.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.Expression.getStringValue(Expression.java:118)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)

是应该在这里改吗?怎么改?
<%@ page contentType="text/html;charset=GBK" %>
<%@ include file = "/includes/jsp/init.jsp" %>
<% Includes.getHead( out, ResourceReader.getMessageFromResource( "prompt.${package}.manager" ), ResourceReader.getMessageFromResource( "prompt.${package}.list" ), false, null, false, null ); %>
<%@ page import = "com.cbsgroup.ibs.backparameter.${package}.${className}FormBean" %>
<%@ page import = "com.cbsgroup.common.bean.BaseBean" %>
<jsp:useBean class = "com.cbsgroup.common.util.Result" id = "result" scope = "request" />
<jsp:useBean class = "com.cbsgroup.ibs.backparameter.${package}.${className}FormBean" id = "form" scope = "request" />
<%
if ( form == null ) form = new ${className}FormBean();
%>
<script language="JavaScript">

哆啦的时光机
浏览 235回答 2
2回答

HUWWW

pro.colName is undefined没有定义你要找找是pro没有定义还是属性colName没有定义还是你在这个jsp里面没有定义,反正就是这个对象没有找到你定义的出处

素胚勾勒不出你

请输入您<%@ page contentType="text/html;charset=GBK" %><%@ include file = "/includes/jsp/init.jsp" %><% Includes.getHead( out, ResourceReader.getMessageFromResource( "prompt.${package}.manager" ), ResourceReader.getMessageFromResource( "prompt.${package}.list" ), false, null, false, null ); %><%@ page import = "com.cbsgroup.ibs.backparameter.${package}.${className}FormBean" %><%@ page import = "com.cbsgroup.common.bean.BaseBean" %><jsp:useBean class = "com.cbsgroup.common.util.Result" id = "result" scope = "request" /><jsp:useBean class = "com.cbsgroup.ibs.backparameter.${package}.${className}FormBean" id = "form" scope = "request" /><%if ( form == null ) form = new ${className}FormBean();%><script language="JavaScript">的回答...
打开App,查看更多内容
随时随地看视频慕课网APP