This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSP and the fly likes JSTL XML tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL XML tags" Watch "JSTL XML tags" New topic


Vinod Awar
Ranch Hand

Joined: Nov 06, 2006
Posts: 125
Hii all,

iam trying to read xml file using <x:forEach tag>. my jsp code is as follows

and the xml file iam using looks like

when i try to access this jsp page i am getting this

what should i do?

The biggest bankruptcy is the loss of enthusiasm
Vinod Awar
Ranch Hand

Joined: Nov 06, 2006
Posts: 125
Also the server log shows a
org.xml.sax.SAXParseException: Content is not allowed in prolog

It is sorta covered in the JavaRanch Style Guide.
subject: JSTL XML tags
Similar Threads
JasperException with RSS and JSTL
JSTL-XML problem
XML Parsing issue
jstl xml error