`

You must specify the value attribute or nested tag

阅读更多
问题:18:45:28,477 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: You must specify the value attribute or nested tag content
        at org.apache.struts.taglib.html.MultiboxTag.prepareValue(MultiboxTag.java:195)
        at org.apache.struts.taglib.html.MultiboxTag.doEndTag(MultiboxTag.java:162)
解决:
     这个错误是由于<html:multibox这个标签空所致
<html:multibox property="kk_CheckBox">  
       <bean:write name="element" property="idbmqx" />  
      </html:multibox>  

如果idbmqx为空,那么就会报异常的,解决办法就是不要让multibox 为空,或者用<c:if控制一下,为空就不执行
<logic:notEmpty name="element" property="idbmqx">  
      <html:multibox property="kk_BlacklistVehicle_UserManage_BMQX_SC_CheckBox">  
       <bean:write name="element" property="idbmqx" />  
      </html:multibox>  
     </logic:notEmpty>  

<logic:notEmpty 非空判断,不为空时才执行标签体里的内容
分享到:
评论

相关推荐

    linux mount报错:you must specify the filesystem type的解决方法

    mount: you must specify the filesystem type 先执行:mkfs.ext3 /dev/vdb # mkfs.ext3 /dev/vdb mke2fs 1.41.12 (17-May-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 ...

    Step by Step From the Data Model to BI

    在"From the Data Model to the Business Intelligence Application in the Web.pdf"中,可能会详细介绍如何构建InfoCubes,包括选择源系统、定义数据源、设置键字段、确定事实和维度等步骤。 接下来是数据加载和...

    Tensorflow 2.1 报错整合

    文章目录Tensorflow 2.1 报错整合RuntimeError: `loss` passed to Optimizer.compute_gradients should be a function when eager ... When eager execution is enabled, `var_list` must specify a list or dict

    uefi-programming

    #uefi原理与编程EDK2源代码版本号为13087下载EDK2源代码 svn co -r 13087 在EDK2根目录...#ifdef _NATIVE_WCHAR_T_DEFINED// #error You must specify /Zc:wchar_t- to the compiler to turn off intrinsic nwchar_t.

    C 语言编缉神经网络工具

    To run the batchnet program, you must specify the run file that it will use. Demo.run is the run file for the demo.bat demonstration. Look at the demo.bat and demo.run files to see what we mean. ...

    pandas中dataframe数据转为python的基本数据结构list

    内容概要: dataframe是pandas中的一种数据类型 list是python的基本数据结构,两者之间可以进行转化 代码示例: import numpy as np import pandas as pd df = pd.DataFrame( data={ "A":1.0, ...

    Android代码-ServeStream

    1.) To compile ServeStream using Ant, you must specify where your Android SDK and NDK are located via the local.properties file. To generate a local.properties file run the following command from the ...

    Universal-USB-Installer

    gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know ...

    WizFlow网页编辑

    or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must ...

    hibernate-shards.jar

    or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must ...

    labview 软件滚动-Animator.rar

    Under the Automatic mode, an animator automatically changes the current picture according to the frame rate that you specify. Under the Use value mode, an animator shows a picture according to the ...

    2009 达内Unix学习笔记

    telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss 老师测评网址 http://172.16.0.198:8080/poll/ 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ 一、注意...

    数位板压力测试

    The device must have a point-ing ap¬para¬tus or method (such as a stylus, or a finger touching a touch pad), called the cursor, that de¬fines the current position. The cursor must be able to ...

    NewSID(光学习一下代码就可以了,没看清楚介绍别运行)

    You must have permissions to change the security settings of the target computer‘s Registry keys, which typically means that you must be logged in as a domain administrator to use this feature.Note ...

    EmEditor中文版

    The Auto Marker tab of the Customize Marker dialog allows you to specify details about the auto marker, such as retrieving the word at the cursor position, matching the word only, or case sensitivity...

    netterm_ssh_linux连接工具

    If you must dial a site direct, without using Trumpet or the Windows 95/NT dialup services, then you are using a direct modem connection, normally a bulletin board. NetTerm supports all of these. You...

    OutlookAttachView v2.73

    o In the 'Copy Selected Files To...' window, you can now specify a subfolder in the attach filename format. For example, if the filename format is %folder_name%\%subject%_%attach_name%.%extension% ...

Global site tag (gtag.js) - Google Analytics