the out.println is not right - there are only three quotation marks on the line.
you need quotes outside your statements as well: out.println("\"selected\";"); will
produce the output
"selected";
if you use a context-sensitive text editor like slick (or many others), it will help
you see this better.
hope this helps,
-bml
Andrew Liles wrote:
> Perhaps the ; may be the problem - the compiler things you have forgotten to close
>your string rather than
> consciously trying to embed a semi-colon. Try escaping it.
>
> > statusoptions = "<option value=\"H\" <% if
> > (status.equals(\"C\"))
> > {out.println(\"SELECTED\"); } %>>HOLD ";
> >
> > The error I get is no end quote on my string...
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
--
_________________________________________________________________________
Brian M. Long RandomWalk Computing, Inc. [EMAIL PROTECTED]
'Apollo was astonished / Dionysus thought me mad' -Hemispheres, 14:28
__________________________________________________________________________
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html