Error messages with (X)HTML / JSP [message #684996] |
Thu, 16 June 2011 11:30  |
Eclipse User |
|
|
|
Hey there,
(I hope I am in the right forum.)
When using Eclipse (Java EE) to create (X)HTML pages for JSP I get all sorts of problem messages. Here is a simple code of a file called index.html that is part of a dynamic web project (the file itself is located in the WebContent folder):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
<html xmlns=< ///Link to www.w3.org here, the forum does not accept links at this time///>
<head>
<title>Some title</title>
</head>
<body>
<form action="Test.jsp" id="form_1" method="post">
Input 1: <input type="text" name="input_1" /><br />
Input 2: <input type="text" name="input_2" /><br />
<input type="submit" name="Send" value="Send" />
</form>
</body>
</html>
The messages I get are
Invalid location of tag (input).
Invalid location of tag (br).
Invalid text string (Input 1:)
Invalid text string (Input 2:)
I'de be grateful if somebody could herlp me with these confusing messages. In other (HTML) editors I don't get them.
Thanks a lot,
Michael
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03926 seconds