tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Tirok <Andreas.Ti...@beusen.de>
Subject Re: compilation
Date Thu, 12 Jul 2001 05:26:19 GMT
Hi Greg,

Greg Trasuk wrote at Thursday 12 July 2001 06:32:
> Hi David:
>
> 	At the risk of sounding trite, I think the reason for the compile error is
> that you're missing a second ')' after "... != null) " in your JSP file,
> rather than a configuration issue.
I think David wanted to write:

        if ( session.getValue(MM_AddressID) != null)
             ++++++++++++++++++++++++++++++
	
	comapare return of function call against null

>
> Greg Trasuk, President
> StratusCom Manufacturing Systems Inc. - We use information technology to
> solve business problems on your plant floor.
> http://stratuscom.ca
>
> -----Original Message-----
> From: David Herder [mailto:dherder@triad-graphics.com]
> Sent: Wednesday, July 11, 2001 5:11 PM
> To: tomcat-user@jakarta.apache.org
> Subject: compilation
>
>
> Does anyone know of the configuration file that I will have to edit to
> allow for the compilation of jsp's automatically when sent to Tomcat???? I
> know there is one setting that is defaulted to "false" but I can't remember
> which config file that it's in. I had changed this setting so that someone
> couldn't automatically drop files into my root directory from "outside" and
> execute them as webapps.
>
> Anyway, I am getting the following error and I believe that the change that
> I made to the above setting is involved.
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
> C:\Tomcat\work\localhost_8080%2Fedocket\_0002fTMP_00034dbapzhtjx_0002ejspTM
>P 4dbapzhtjx_jsp_0.java:62: ')' expected.
>                 if (session.getValue(MM_AddressID !=null)
> {Address__svAddress = (String)session.getValue(MM_AddressID;}
>                                                          ^
> C:\Tomcat\work\localhost_8080%2Fedocket\_0002fTMP_00034dbapzhtjx_0002ejspTM
>P 4dbapzhtjx_jsp_0.java:62: ')' expected.
>                 if (session.getValue(MM_AddressID !=null)
> {Address__svAddress = (String)session.getValue(MM_AddressID;}
>
>
> Regards,
> dave

-- 
-------------------------------
mailto:Andreas.Tirok@beusen.de
fon: +49 30 549932-37
fax: +49 30 549932-21


Mime
View raw message