为了账号安全,请及时绑定邮箱和手机立即绑定

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

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

哆啦的时光机 2021-11-23 15:11:59
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">
查看完整描述

2 回答

?
HUWWW

TA贡献1874条经验 获得超12个赞

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

查看完整回答
反对 回复 2021-11-28
?
素胚勾勒不出你

TA贡献1827条经验 获得超9个赞

请输入您<%@ 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">的回答...



查看完整回答
反对 回复 2021-11-28
  • 2 回答
  • 0 关注
  • 234 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信