tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terje Hopsø <tehos...@online.no>
Subject Re: Calling my class gives compiler error!
Date Sat, 15 Feb 2003 08:57:02 GMT
I created them as a package and now it works!

Thanks!

- Terje

----- Original Message -----
From: "Ralph Einfeldt" <ralph.einfeldt@uptime-isc.de>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, February 14, 2003 1:54 PM
Subject: RE: Calling my class gives compiler error!


I guess you are using jdk 1.4 ?

AFAIK with that it's not allowed to import packageless classes.

You have to put Katalog and Menu in a package and import that.

> -----Original Message-----
> From: Terje Hopsø [mailto:hopso@online.no]
> Sent: Friday, February 14, 2003 1:42 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Calling my class gives compiler error!
>
>
> Generated servlet error:
>     [javac] Compiling 1 source file
>
> C:\Tomcat
> 4.1\work\Standalone\localhost\bilder\meny_jsp.java:9: '.' expected
> import Katalog;
>               ^

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message