Tomcat 5 and well-formed XHTML
I want to run this code on tomcat 5, on port 8080 in Internet Explorer, but something strange happens: When I run the following code ::: CODE ::: ?xml version=1.0 encoding=ISO-8859-1 ? jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=1.2 jsp:directive.page language=java contentType=text/html ; charset=ISO-8859-1 pageEncoding=ISO-8859-1 / html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head titleTest2/title /head body div Test2 /div /body /html /jsp:root ::: END CODE ::: You will expect a nice XHTML page from it. In Netscape and Mozilla it is exactly this, but when running in IE6, I get a XML-tree instead of a page, which I expected. Also when I look at the properties, I note a strange value, the Type value of the page contains JavaServer Page, which shouldn't be filled at all. So how can I change this, so I get IE6 working? Thanks in advance, Sjoerd van Leent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5 and well-formed XHTML
Sjoerd, I had the selfsame problem last week. The solution (thanks to Bill Barker) is to add: jsp:directive.page contentType=text/html; charset=iso-8859-1 / to the page. Graham I want to run this code on tomcat 5, on port 8080 in Internet Explorer, but something strange happens: When I run the following code ::: CODE ::: ?xml version=1.0 encoding=ISO-8859-1 ? jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=1.2 jsp:directive.page language=java contentType=text/html ; charset=ISO-8859-1 pageEncoding=ISO-8859-1 / html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head titleTest2/title /head body div Test2 /div /body /html /jsp:root ::: END CODE ::: You will expect a nice XHTML page from it. In Netscape and Mozilla it is exactly this, but when running in IE6, I get a XML-tree instead of a page, which I expected. Also when I look at the properties, I note a strange value, the Type value of the page contains JavaServer Page, which shouldn't be filled at all. So how can I change this, so I get IE6 working? Thanks in advance, Sjoerd van Leent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Graham Stark, Virtual Worlds phone: (+044) 01908 618239 mobile: 07952 633185 Homepage http://www.virtual-worlds.biz Virtual Learning Arcade http://www.bized.ac.uk/virtual/vla Virtual Economy http://www.bized.ac.uk/virtual/economy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 and well-formed XHTML
OK I'm baffeled, I did use: jsp:directive.page language=java contentType=text/html ; charset=ISO-8859-1 pageEncoding=ISO-8859-1 / But reading the example it says that the ; sign between text/html and charset must contain no spaces at the front, so you'll get: jsp:directive.page language=java contentType=text/html; charset=ISO-8859-1 pageEncoding=ISO-8859-1 / Why always such a stupidity? Sjoerd van Leent -Original Message- From: Graham Stark [mailto:[EMAIL PROTECTED] Sent: zondag 17 augustus 2003 23:45 To: Tomcat Users List Subject: Re: Tomcat 5 and well-formed XHTML Sjoerd, I had the selfsame problem last week. The solution (thanks to Bill Barker) is to add: jsp:directive.page contentType=text/html; charset=iso-8859-1 / to the page. Graham I want to run this code on tomcat 5, on port 8080 in Internet Explorer, but something strange happens: When I run the following code ::: CODE ::: ?xml version=1.0 encoding=ISO-8859-1 ? jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=1.2 jsp:directive.page language=java contentType=text/html ; charset=ISO-8859-1 pageEncoding=ISO-8859-1 / html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head titleTest2/title /head body div Test2 /div /body /html /jsp:root ::: END CODE ::: You will expect a nice XHTML page from it. In Netscape and Mozilla it is exactly this, but when running in IE6, I get a XML-tree instead of a page, which I expected. Also when I look at the properties, I note a strange value, the Type value of the page contains JavaServer Page, which shouldn't be filled at all. So how can I change this, so I get IE6 working? Thanks in advance, Sjoerd van Leent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Graham Stark, Virtual Worlds phone: (+044) 01908 618239 mobile: 07952 633185 Homepage http://www.virtual-worlds.biz Virtual Learning Arcade http://www.bized.ac.uk/virtual/vla Virtual Economy http://www.bized.ac.uk/virtual/economy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]