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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:20:03+00:00 2026-06-03T05:20:03+00:00

I have the following jsp file <%@ page language=java contentType=text/html; charset=ISO-8859-1 pageEncoding=ISO-8859-1%> <%@ page

  • 0

I have the following jsp file

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import="java.util.*" %>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" version="2.0">
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Home</title>
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>

<body>
<div class="container">
  <jsp:include page="/WEB-INF/embeds/header.jsp"/>
  <div class="content">
    <h>Hotel Results</h>
    <table cellpadding="15">
    <c:forEach var="result" items="${search}">
    <tr>
        <td style="padding: 0px 0px 8px 10px">
            <c:out value="${search.roomDescription}"/>
        </td>
    </tr>
    </c:forEach>
    </table>
  </div>
</div>
</body>
</html>

and a room object that holds the int id and String roomDescription and I wanted to print these out from the arraylist i’ve used to store all the rooms from the results I got through ResultSet. This code seems to error with

org.apache.jasper.JasperException: /Results.jsp(4,5) Invalid standard action

Can someone tell me whats wrong with it? (My room class consists of those two variables and getters and setters). I’ve tested the size of the array list and I know I’m adding in room objects.

  • 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-03T05:20:05+00:00Added an answer on June 3, 2026 at 5:20 am

    I think that the problem that is causing the exception is caused by the <jsp:root> element, which according to this page is malformed. If I am reading the linked page correctly, there should be a matching </jsp:root> tag at the end of the JSP.

    Even if this isn’t the exact problem, the exception messages says that the problem is at “[4,5]”: i.e. line #4 character #5 of the JSP file.

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

Sidebar

Related Questions

I have the following JSP: <%@ page import=foo.* %> <html> <body> The page count
I have the following scriptlet inside a JSP page. File f = new File(//WEB-INF//music//rock//Evanascence//Fallen//text.txt);
For simplicity, i have the following file named test.jsp: <script language=javascript> alert(a$b.replace(/\$/g,k)); </script> I
I have the following code: index.jsp: <form name=f action=db/ajoutConducteur.jsp method=post> <input type=text pattern=\d{8} required
I have the following code in a jsp page (Struts backed): <c:if test=${USERINFO.someproperty ==
I have an application web.xml with the following entry: <error-page> <error-code>404</error-code> <location>/system_files/error/p_notfound.jsp</location> </error-page> However,
I have following piece of code in my jsp file which getSession information: <jsp:useBean
I currently have two files, register.html and register.jsp. The HTML file asks the user
I have a JSP file which I am deploying within a Java Project with
i have the following problem: I've got a JSP file with the following Code:

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.