Howdy, You should always properly import classes you depend on, and all your classes should be in a package. If they're not, jasper will put them in the org.apache.jsp package, which you don't import, and that's why it's not found in your JSP page.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Roland Kaeser [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 12:09 PM >To: Tomcat Users List >Subject: Re: Strange Problem with Tomcat 4.1.24 > >No, why should i do it? I was working fine before widthout that. >The Command in the JSP File is: > ><%= IsraelMySQL.getContent("home") %> > >Roland > >Shapira, Yoav wrote: >> Howdy, >> Do you import the Israel class appropriately in your JSP? >> >> Yoav Shapira >> Millennium ChemInformatics >> >> >> >>>-----Original Message----- >>>From: Roland Kaeser [mailto:[EMAIL PROTECTED] >>>Sent: Friday, June 13, 2003 12:03 PM >>>To: [EMAIL PROTECTED] >>>Subject: Strange Problem with Tomcat 4.1.24 >>> >>>Hello >>> >>>I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. >>>In my .jsp files I'm using a class for getting the content out of a >>>MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun >>>JRE 1.4.1 is the same as before. But now, i get the following Output >>>when i try to call the jsp Page: >>> >>>-------------------------------------------------------------> >>>org.apache.jasper.JasperException: Unable to compile class for JSP >>> >>>An error occurred at line: 202 in the jsp file: /home.jsp >>> >>>Generated servlet error: >>> [javac] Since fork is true, ignoring compiler setting. >>> [javac] Compiling 1 source file >>> [javac] Since fork is true, ignoring compiler setting. >>> [javac] >>>/usr/jakarta-tomcat- >>>4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: >>>cannot resolve symbol >>> [javac] symbol : variable IsraelMySQL >>> [javac] location: class org.apache.jsp.home_jsp >>> [javac] out.print( IsraelMySQL.getNews() ); >>> [javac] ^ >>><------------------------------------------------------------- >>> >>>But if I load the the same class from my Servlet-Application it can be >>>loaded successfully. >>> >>>Can andybody help me please? This already gonna drive me crazy. >>> >>> >>>Roland >>> >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: [EMAIL PROTECTED] >>>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> >> This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary and/or privileged. This e-mail is intended only for the >individual(s) to whom it is addressed, and may not be saved, copied, >printed, disclosed or used by anyone else. If you are not the(an) intended >recipient, please immediately delete this e-mail from your computer system >and notify the sender. Thank you. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]