Figured it out, this statement needed a semicolon to work.
Thanks all.
Vinny wrote:
> Thank you very much, I had to explicitly put the omega jar and the
> directory containing the property file in my unix shell's classpath.
> Now the problem I'm running into is that some pages are getting compile
> error messages.
>
>
>
>
> 2001-06-19 12:07:40 - Ctx( /omega ): JasperException: R( /omega +
> /admin/hello.jsp + null) Unable to compile class for
>
>JSP/usr/local/jakarta-tomcat-3.2.2/work/localhost_8080%2Fomega/_0002fadmin_0002fhello_0002ejsphello_jsp_0.java:61:
>
> Incompatible type for method. Can't convert void to char[].
> out.print( out.print("!") );
>
>
>
> the hello.jsp file contains:
>
>
> <h2>Hello World
> <%=out.print("!") %>
> </h2>
>
>
>
> what's going on?
> Thanks again in advance.
>
>
>
>
>
>
> Randy Layman wrote:
>
>> If you're on UNIX, add it to TOMCAT_HOME/classes, if you're on NT
>> you'll need to modify the tomcat.bat file so that Tomcat adds this
>> directory
>> to its automatically built classpath. Another option it to add the
>> conf.properties to the CLASSPATH environment variable.
>>
>> In either case, there are some ways that you can request resources
>> that cause the wrong class loader to be used, which it seems is happening
>> here. Since its closed source, there really is no way around this.
>>
>> Randy
>>
>>
>>> -----Original Message-----
>>> From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
>>> Sent: Tuesday, June 19, 2001 11:17 AM
>>> To: Tomcat Users
>>
>>
>>>
>
>