Put <html:html xhtml="true" /> in any tiles or includes.

On 28 Jan 2004, at 10:16, Andreas Amstutz wrote:

Hello

I have pages which us the following code:

<html:html xhtml='true'>
        <head>
                <title>some title</title>           
                <link rel="stylesheet" type="text/css" href="ui/css/default.css" />
        </head>
        <body>
                        
                <%@ include file="header.jsp" %>
                <%@ include file="navigation.jsp" %>

        </body>
</html:html>

The included jsp pages use struts tags, but the output is not xhtml kompliant.
e.g.


<html:form action="search.jspa" >
     <html:text property="keyword" size="18" maxlength="30" />
     <html:image page="/ui/media/search_button.gif" />
</html:form>

results in:

<form name="searchForm" method="POST" action="/xpetstore-ejb/search.jspa">
<input type="text" name="keyword" maxlength="30" size="18" value="">
<input type="image" name="" src="/xpetstore-ejb/ui/media/search_button.gif">
</form>


How can I fix this


--------------------------------------------------------------------- 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]



Reply via email to