You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jose Benjamin Perez Soto <jo...@gmail.com> on 2006/07/04 02:02:29 UTC

Problem the with contentType with XHTML MP

Hello!

I have this question, when I place this contentType my emulator of a mobile
device shows correctly,

<%@ include file="/Includes.jsp"%>
<%@ page contentType="application/vnd.wap.xhtml+xml" %>
<html:html xhtml="true">
    <body>Hello World</body>
</html:html>

but my browser no, not show nothing, the browser show when I place in
following contentType="application/xhtml+xml"

<%@ include file="/Includes.jsp"%>
<%@ page contentType="application/xhtml+xml" %>
<html:html xhtml="true">
    <body>Hello World</body>
</html:html>

this is correct for the browser, if I use the second case, the mobile device
would have problems?

cheers,

Ben