Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8374407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:54:59+00:00 2026-06-09T14:54:59+00:00

Below is my jsp , when I add total attribute to display:column I get

  • 0

Below is my jsp , when I add total attribute to display:column I get below exception

Caused by: javax.servlet.jsp.JspException: ServletException in '/jsp/frm_Rslt.jsp': /jsp/frm_Rslt.jsp(5,2) The content of elements must consist of well-formed character data or markup.

frm_Rslt.jsp

<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:display="urn:jsptld:http://displaytag.sf.net">
  <jsp:directive.page contentType="text/html; charset=UTF-8" />

<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>


<%AppUtil oAppUtil=new AppUtil();%>
<jsp:useBean id="realTimeIssuance" scope="session" class="com.actionform.afRealTimeIssuance"></jsp:useBean>


<display:table name="realtimereportcol" export="true" pagesize="25" sort="list" id="data" requestURI="" class="tablelist" decorator="org.displaytag.decorator.TotalTableDecorator">
        <display:setProperty name="export.csv" value="false"/>
        <display:setProperty name="export.xml" value="false"/>
        <display:setProperty name="export.excel.filename">RealTimeIssuance_<%=oAppUtil.getSystemDateTime()%>.xls</display:setProperty>

        <display:column title="SUB_CHANNEL" sortable="true" property="sub_channel" group="1"></display:column>
        <display:column title="AGENT_NAMES" sortable="true" property="agent_names"></display:column>
        <display:column title="FTD" sortable="true" property="ftd" total="true"></display:column>
        <display:column title="MTD" sortable="true" property="mtd" total="true"></display:column>
        <display:column title="QTD" sortable="true" property="qtd" total="true"></display:column>


</display:table>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T14:55:00+00:00Added an answer on June 9, 2026 at 2:55 pm

    If you look at the documentation of the <display:column> tag, you will find the following description for the total attribute:

    total: If true, will total the contents of this column. This value is available via the Map named in varTotals for the table. Column values need to be Numbers.

    So please check if the columns FTD, MTD and QTD are numbers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Below is my jsp file, once I process some value and display the value
i have a jsp. which calls a servlet on jsp load and display the
I am trying to use an image in the below index.jsp file in a
IN JAVA CODE IN JSP as below i m getting null value for fieldnoOfRecords.
Below am posting my jsp page. home.jsp <%@taglib uri=/WEB-INF/struts-bean.tld prefix=bean%> <%@taglib uri=/WEB-INF/struts-html.tld prefix=html %>
In my .jsp file I have the code below. How can I compare the
Below are the code pieces in one jsp page, the function is to jump
in my shopping cart,logout.jsp page content does not get loaded. only a blank page
To enable Servlet, JSP, JSF etc to use a remote EJB , performing resource
Say a text box takes value from Transfer Object as below in a jsp:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.