>>>>> "Thomas" == Thomas Delnoij <[EMAIL PROTECTED]> writes:

    Thomas> Hi Shawn,
    Thomas> Sorry, I misunderstood both you and the website. If this is a widely held
    Thomas> misunderstanding, then I would suggest that the website is not clear enough
    Thomas> on this topic...

    Thomas> I am actually working on an alternative:

    Thomas> <?xml version = '1.0' encoding = 'windows-1252'?>
    Thomas> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="1.2" >
    Thomas>  <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    Thomas>  <html>
    Thomas>     <head>
    Thomas>        <meta HTTP-EQUIV="Content-Type" CONTENT="text/html;
    Thomas> charset=windows-1252"/>
    Thomas>        <title>test</title>
    Thomas>     </head>
    Thomas>     <body>
    Thomas>     <jsp:scriptlet>
    Thomas>     for (int i = 0; i < 8; i++)
    Thomas>          {
    Thomas>     </jsp:scriptlet>
    Thomas>       <jsp:expression> i </jsp:expression>
    Thomas>     <jsp:scriptlet>
    Thomas>       }
    Thomas>     </jsp:scriptlet>
    Thomas>   </body>
    Thomas>   </html>
    Thomas> </jsp:root>

    Thomas> On compilation:

    Thomas> Error(11,24): Expected name instead of  .
    Thomas> Error(11,25): Expected name instead of 8.
    Thomas> Error(11,26): '=' missing in attribute.
    Thomas> Error(11,27): Attribute value should start with quote.

First of all, why are you trying to use the XML format?  It may be convenient
for computers, but it's not convenient for humans.  Your compile errors
probably have a little to do with the fact that you're not "CDATA"ing your
scriptlet content.

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to