Hi Shawn,

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

I am actually working on an alternative:

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

On compilation:

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

I picked this example from Oracle's website.

????

Bye

Thomas Delnoij
Internet Engineer
IMN - SSE Baarn

Mobile: +31 6 144 300 14
EMail: [EMAIL PROTECTED]


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

Reply via email to