Oops, thanks - I forgot that :) Denise Mangano Help Desk Analyst Complus Data Innovations, Inc.
-----Original Message----- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 3:47 PM To: Tomcat Users List Subject: RE: Unable to compile class for JSP and int your <jsp:useBean id="client" class="ClientData" scope="session"/> tag the class attribute should contain the fully qualified classname. Fiilip -----Original Message----- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 12:44 PM To: 'Tomcat Users List' Subject: RE: Unable to compile class for JSP The common answer I've seen to this, and what worked for me was placing the class in a package. Place the class in C:\Tomcat4\webapps\MyApp\WEB-INF\classes\mypackage\beans In your class file you need the statement: package mypackage.beans; In your JSP page you should have <%@ page import="mypackage.beans" %> HTH Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -----Original Message----- From: Aaron Bennett [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 3:32 PM To: [EMAIL PROTECTED] Subject: Unable to compile class for JSP Hi, I've just installed Tomcat 4.18 on my Windows 2KP machine and am having trouble using my java beans in my application. I continually receive the error: Generated servlet error: [javac] Compiling 1 source file C:\Tomcat4\work\Standalone\localhost\myApp\Proc\getuserinfo_jsp.java:332: cannot resolve symbol symbol : class ClientData location: class org.apache.jsp.getuserinfo_jsp ClientData client = null; ^ An error occurred at line: 12 in the jsp file: /Proc/getuserinfo.jsp The code generating the error is: <jsp:useBean id="client" class="ClientData" scope="session"/> I've placed my class files in the "C:\Tomcat4\shared\classes" as-well-as the "C:\Tomcat4\webapps\MyApp\WEB-INF\classes directory". can someone tell me why my bean is not being recognized? - any help greatly appreciated! --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]