An exception that occurs when using DisplayTag and its solution

xiaoxiao2021-03-06  40

[1/12/05 13: 07: 54: 238 CST] 16F2036B lookuputil w org.displaytag.util.lookuputil Exception: [.lookuputil] error loops UP PROPERTY "Title" In Object Type "com.ztesoft.ds.Application. Web.bulletin.Decorator.bulletinListDecoator

Cause: NULL

[1/12/05 13: 07: 54: 276 CST] 16f2036b LookupUtil W org.displaytag.util.LookupUtil TRAS0014I: The following exception was logged java.lang.reflect.InvocationTargetException: java.lang.ClassCastException: java.lang. String

At com.ztesoft.ds.ds.Application.web.bulletin.Decorator.bulletinListDecorator.gettitle (BulletinListDecorator.java: 24)

The reason is that $ {} (EL syntax) is not used in the JSP page, as follows:

Just add $ {} to BulletinList.

转载请注明原文地址:https://www.9cbs.com/read-69921.html

New Post(0)