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 3455366
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:36:21+00:00 2026-05-18T09:36:21+00:00

I am getting this error when running my application on LINE 3 of the

  • 0

I am getting this error when running my application on LINE 3 of the jsp file.Is it to do with my tld file or jsp file?

org.apache.jasper.JasperException: /DisplayAllOrders.jsp(3,62) PWC6106: Unknown element (rtexpvalue) in attribute.

The TLD file:

 <?xml version="1.0" encoding="UTF-8"?>
 <taglib version="2.0" xmlns="http://java.sun.com/xml/ns/j2ee"    lns:xsi="http://www.w3.org/2001/XMLSchema-instance"      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd">
 <tlib-version>1.0</tlib-version>
 <short-name>week07_portfolio</short-name>
 <uri>/WEB-INF/tlds/week07_portfolio</uri>
<tag>
<name>DisplayOrders</name>
<tag-class>tags.DisplayOrders</tag-class>
<body-content>JSP</body-content>
<variable>
    <name-given>order</name-given>
    <variable-class>beans.Order</variable-class>
    <declare>true</declare>
    <scope>NESTED</scope>
</variable>       
<attribute>
      <name>ordersListName</name>
      <required>true</required>
      <rtexpvalue>false</rtexpvalue>
</attribute>
   </tag>
   <tag>
   <name>DisplayOrderLines</name>
   <tag-class>tags.DisplayOrderLines</tag-class>
   <body-content>JSP</body-content>
<variable>
    <name-given>orderLine</name-given>
    <variable-class>beans.OrderLine</variable-class>
    <declare>true</declare>
    <scope>NESTED</scope>
</variable>     
 <attribute>
      <name>linesListName</name>
      <required>true</required>
      <rtexpvalue>false</rtexpvalue>
  </attribute>    
  </tag>
 </taglib>

the JSP file:

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page import="java.util.*, java.text.*, beans.*" %>
<%@ taglib uri="/WEB-INF/tlds/week07_portfolio" prefix="wk07" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<%  if (session.getAttribute("orderList") == null)
{
    throw new ServletException("No order list available");
}

int ctr = 0;
SimpleDateFormat df = new SimpleDateFormat("dd-MMM-yyyy");

%>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Week 07, Portfolio Exercise</title>
    <link rel="stylesheet" type="text/css" href="Week07_Portfolio.css">
    </head>
    <body>
    <h1>Week 07, Portfolio Exercise</h1>
    <h2>Order list</h2>

    <wk07:DisplayOrders ordersListName="orderList">
        <table>
            <tr class="header">
                <td>Order Num: <%= order.getOrderNum() %></td>
                <td>Customer: <%= order.getName() %></td>
                <td>Date: <%= df.format(order.getOrderDate()) %></td>
            </tr>
        </table>

        <% pageContext.setAttribute("orderLines", order.getOrderLines()); 
           ctr = 0;
        %>
        <table>
            <tr>
                <th>Ref. Code</th>
                <th>Item</th>
                <th>Qty</th>
            </tr>
        <wk07:DisplayOrderLines linesListName="orderLines">
            <tr<%= ctr++ % 2 == 0 ? " class=\"shaded\"" : ""%>>
                <td><%= orderLine.getItem().getRefCode()%></td>
                <td><%= orderLine.getItem().getName()%></td>
                <td><%= orderLine.getQuantity()%></td>
            </tr>
        </wk07:DisplayOrderLines>
        </table>
        <p>&nbsp;</p>
    </wk07:DisplayOrders>        
</body>

  • 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-05-18T09:36:21+00:00Added an answer on May 18, 2026 at 9:36 am

    It should be <rtexprvalue>.

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

Sidebar

Related Questions

When running my vb6 application I am getting error like, runtime error '53': file
we are getting this error at the end of running application. I search in
Why am I getting this error when running my application which is trying to
I'm getting this error message whiile running a Webservice I'm working on. it builds,
I am getting this weird error while running cucumber test: ERROR Mongo::OperationFailure: Database command
I'm getting this error when trying to access my webservice running inside tomcat. Caused
I'm running IIS 6.0 on Windows 2003 and started getting this error: Compiler Error
I'm running Valgrind and I'm getting the following error (this is not the only
I am getting this error when running ./manage.py migrate app_name While loading migration 'whatever.0001_initial':
I am getting this error when running the app in production. It works fine

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.