Hello again,
As a clarification to my earlier mail on this issue.
What makes it illegal to span a String across lines is the Java Language
Specification.
Read http://java.sun.com/docs/books/jls/html/3.doc.html#101083
It says: "It is a compile-time error for a line terminator to appear
after the opening " and before the closing matching ". A long string
literal can always be broken up into shorter pieces and written as a
(possibly parenthesized) expression using the string concatenation
operator +"
For the fact that JRun imports java.io.* implicitly. It would be very
easy to add this for us, but we are hesitent to do this since it breaks
the specification, the purpose of imports and encourages people to write
non-portable code.
Regards,
Karl Avedal
Karl Avedal wrote:
> Hello Doug,
>
> Orion does indeed parse multi-line statements,
>
> <%
> out.
> println ("test");
> %>
>
> Should work fine. What you can't do is span a String across lines.