Milan Vasic

Greenhorn
+ Follow
since May 23, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Milan Vasic

I try to validate my jsp with a loot of on line validators, and my jsp is well formated, but when I try to parse that file with parse method on documentbuilder object I got this error.
Hi there this is my code:

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html; charset=UTF-8" />
<jsp:output doctype-root-element="html"
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

some html code....


</html>
</jsp:root>


I still got the exception :org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed. Doeas anyone know why?