I guess Tomcat complies too, at least on my expierence. The error ocurrs when the
jsp gets converted into servlet code:
<%=blah();%>
into
out.write(blah();); // servlet code
... therefore the semicolon should be omitted for the servlet to be compiled
normally...
greetings
Jose
On Wed, Oct 30, 2002 at 10:50:52AM -0800, Julius Davies wrote:
>
> Phillip Qin,
>
> I only use semicolons in "<% %>" and "<%! %>", but never in "<%= %>". Weblogic
>refuses to compile my jsps when I put semicolons in "<%= %>". Tomcat and JRun don't
>seem to mind, though, and so since this is a Tomcat mailing list, I guess you're
>correct.
>
> <%
> String blah = "hello";
> %>
>
> <%-- NO SEMI-COLON: --%>
> <%= blah %>
>
> <%-- SEMI-COLON REQUIRED: --%>
> <% out.println( blah ); %>
>
>
> Julius Davies, Programmer, CUCBC
> Email: [EMAIL PROTECTED], Ph: 604.730.6385
>
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:pqin@;shareowner.com]
> > Sent: Wednesday, October 30, 2002 10:40 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: compile error?
> >
> >
> > Missing = at the beginning and ; at the end.
> >
> > Regards,
> >
> >
> > Phillip Qin
> >
> > Software Developer
> > Canadian Shareowner
> > 121 Richmond Street W, 7th Floor
> > Toronto, ON M5H 2K1
> > (416) 595-9600 ext 291
> >
> >
>
> --
> To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
>
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>