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

  • Home
  • SEARCH
  • 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 5991245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:21:33+00:00 2026-05-22T23:21:33+00:00

I have the following JSF table: <?xml version=1.0 encoding=UTF-8?> <!DOCTYPE html PUBLIC -//W3C//DTD XHTML

  • 0

I have the following JSF table:

 <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core">

<h:head>
    <title>List</title>
</h:head>

<h:body>
<h1>List</h1>

    <h:form>

        <h:dataTable value="#{myBean.workflows}" var="item">
            <h:column>
                <f:facet name="header">ID</f:facet>
                #{item.id}
            </h:column>
            <h:column>
                <f:facet name="header">Name</f:facet>
                #{item.name}
            </h:column>
            <h:column>
                <h:link outcome="edit" value="Edit">
                    <f:param name="myId" value="#{item.id}"/>
                </h:link>
            </h:column>
            <h:column>
                <h:link outcome="run" value="Run">
                    <f:param name="myId" value="#{item.id}"/>
                </h:link>
            </h:column>
            <h:column>
                 <h:commandButton value="Delete" action="#{myBean.doDelete}" />
            </h:column>
        </h:dataTable>
    </h:form>
</h:body>

</html>

The following part:

    <h:column>
         <h:commandButton value="Delete" action="#{myBean.doDelete}" />
    </h:column>

is causing "error on line 361 at column 9: Extra content at the end of the document" error to show up in Chrome above the table. At the same time, an exception is shown in the server log saying: “Unable to generate Facelets error page as the response has already been committed”.

Why is the extra <h:column> causing this error?

UPDATE: It appears that the error will be thrown whenever there are more than two components (for example three h:link components).

  • 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-22T23:21:34+00:00Added an answer on May 22, 2026 at 11:21 pm

    I understand that this happens only when there’s a rendering exception, but it’s been too late for Facelets to change the response into a fullworthy HTTP 500 error page. It’s too late because a part of the response has already been committed, which is a point of no return. This explains the “Unable to generate Facelets error page as the response has already been committed” error.

    Chrome will apparently display “Extra content at the end of the document” when the resulting HTML/XML is malformed. Indeed, Facelets has abruptly stopped rendering the HTML due to the exception.

    To fix the problem you should look back in the server logs for the real exception which caused Facelets to stop rendering the HTML.

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

Sidebar

Related Questions

I have following situation: I have loged user, standard authentication with DB table $authAdapter
I have following situation. A main table and many other tables linked together with
I have following table structure: Table: Plant PlantID: Primary Key PlantName: String Table: Party
I Have following code: Controller: public ActionResult Step1() { return View(); } [AcceptVerbs(HttpVerbs.Post)] public
I have following classes. class A { public: void fun(); } class B: public
I have following UI part on JSF - it's simple search form with input
I have following two methods in my backing bean - public String validateUser() {
I'm using JSF 2.0 and Glassfish 3.1 and have the following problem: I've got
I'm a beginner in JSF and I´m having the following problem: I have a
I have following string String str = replace :) :) with some other string;

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.