Re: JSP syntax in a String variable - bug?

1999-07-18 Thread Mandar Raje
> > In a declaration I have a String variable with a JSP syntax in it like this: > > <%! > public static String blabla = "<%= hi %>"; > %> > > Unfortunately it seems like the JSP engine (JSWDK 1.0 EA2) is trying to > parse this as a JSP expression. This is a bug, right? > No, as per the spec. a "

Re: JSP syntax in a String variable - bug?

1999-07-12 Thread Richard Vowles
You can't nest the statements, you need to escape your <% with <%= or something similar. Its a JSP rule... Haakon Emblemsvaag wrote: > In a declaration I have a String variable with a JSP syntax in it like this: > > <%! > public static String blabla = "<%= hi %>"; > %> > > Unfortunately it seems

JSP syntax in a String variable - bug?

1999-07-12 Thread Haakon Emblemsvaag
In a declaration I have a String variable with a JSP syntax in it like this: <%! public static String blabla = "<%= hi %>"; %> Unfortunately it seems like the JSP engine (JSWDK 1.0 EA2) is trying to parse this as a JSP expression. This is a bug, right? -Haakon Emblemsvaag =