That's actually a little incorrect - what Orion is doing is spec compliant.
Scriptlets are not processed within comments ie (<% %>) BUT expressions are (ie <%= %>). Who knows why they designed the spec like this ;) Cheers, Mike Mike Cannon-Brookes [EMAIL PROTECTED] ATLASSIAN - Your J2EE Expert Partner -------------------------------------------------------- > Brilliant Software - http://www.atlassian.com/software > Legendary Services - http://www.atlassian.com/support On 15/3/02 9:50 PM, "Jose Mena" ([EMAIL PROTECTED]) penned the words: > Hi, I have a problem when putting comments in JSP code. Orion doesn't > process the code inside a comment, but if i look at the sun's jsp > reference(http://java.sun.com/products/jsp/tags/11/syntaxref11.fm1.html) it > says that the server must process it when it's put inside a comment. > Here you are an example extracted from the browser's source code(Explorer): > > <!-- > <tr> > <td><% if (modem) { %> <img src="../images/ok.gif"> <% }else{ %> <img > src="../images/notok.gif"> <% } %></td> > <td><img src="../../images/blank.gif" width="8"></td> > <td><font face="verdana" size="1"><b>Modem pitican + Tarjeta > Ethernet:</b><font></td> > <td><img src="../../images/blank.gif" width="8"></td> > <td><font face="verdana" size="1"><b>400.00 €</b><font></td> > <td><img src="../../images/blank.gif" width="8"></td> > <% if (tipprod == 3) { %> > <td><% if (maskwan) { %> <img src="../images/ok.gif"> <% }else{ %> <img > src="../images/notok.gif"> <% } %></td> > <td><img src="../../images/blank.gif" width="8"></td> > <td ><font face="verdana" size="1"><b>Mask WAN:</b></font></td> > <td><img src="../../images/blank.gif" width="8"></td> > <td nowrap><font face="verdana" size="1"><b>40.08 €</b><font></td> > <% } else { %> > <td><% if (inst_mod) { %> <img src="../images/ok.gif"> <% }else{ %> <img > src="../images/notok.gif"> <% } %></td> > <td><img src="../../images/blank.gif" width="8"></td> > <td><font face="verdana" size="1"><b>Instalación y configuración de > Modem:</b></font></td> > <td><img src="../../images/blank.gif" width="8"></td> > <td nowrap><font face="verdana" size="1"><b>40.08 €</b><font></td> > <% } %> > </tr> > > --> > > as you can see it shows my code to the end user's browser without processing > it. > Do you know if there is a setting that controls the comment processing > behaviour in orion? > Thank you. > >