Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Java - JSP + XML

Name: Anonymous 2011-05-14 7:09

I don't get it.
My XML file is perfectly fine.
My JSP file is painfully simplistic.

So why is it giving me shit about a premature end of file when I try to do this?


<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>

<html>
  <head>
    <title>cust_xml</title>
  </head>
  <body>

    <h1>Customer Information</h1>
    <c:import var="xmlFile" url="cust.xml" />
    <x:parse var="myDoc" xml="${xmlFile}" />

Name: Anonymous 2011-05-14 7:25

Just looked up all the syntax and fields and shit:

<c:import var="importFile" url="employee.xml"/>
<x:parse var="doc" doc="${importFile}"/>


It's exactly the same as how I have it.

The only problem I see here is that I didn't include the rest of the JSP in my code, but that's of no consequence because the subsequent code is extraneous in this situation.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List