My objective was to have tomcat respond with the content type of 
application/xhtml+xml.  Following the documentation I placed the page directive 
in the layout definition 
(http://stripes.mc4j.org/confluence/display/stripes/Layout+Reuse).

The order of processing is such that the page directive needs to go in the 
layout user (HelloWorld.jsp in the example) and not the layout definition.  So 
I solved it by placing the xml/dtd as well as page directive in the page, not 
the layout...

<?xml version="1.0" ?>
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<%@ page contentType="application/xhtml+xml;charset=UTF-8" language="java" 
%><%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"; 
%>
<stripes:layout-render name="/layout/MyLaout.jsp">

...

I don't think this is a bug, just a wiki update, which I'd be happy to make.

Taylor




 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to