Lars Neumann wrote:
> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="2.1" 
>     xmlns:stripes="http://stripes.sourceforge.net/stripes.tld";>
>
>     <jsp:output doctype-root-element="HTML"
> doctype-system="http://www.w3.org/TR/html4/loose.dtd";
>         doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" />
>     <jsp:directive.page contentType="text/html;charset=utf-8" language="java" 
> />
>
>     <stripes:layout-render name="/layout.jsp">
>         <stripes:layout-component name="page-content">
>            Some content
>         </stripes:layout-component>
>     </stripes:layout-render>
> </jsp:root>
>   
Wow, that's a lot more elaborate than I expected.  I'm in the process of 
trying out .jspx, just for the heck of it, and especially since I'm 
already delivering xhtml.  I used the example at 
https://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPX3.html , but I 
suspect things have evolved quite a bit in the next EE iteration.  The 
example they give in that link uses the html tag as the root element, 
but I've noticed already that has some restrictions (all your setup 
variables and JSP directives need to be in the root element <html> you 
deliver, which didn't seem right to me).

- Scott

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to