Howdy, Does the bean (or GetData) have a package? It should. If it doesn't have a package, Jasper will put in the org.apache.jsp package which is not what you want.
Jasper uses Javac in order to compile the servlets that come out of the JSPs, so you're using Javac indirectly if you are deploying uncompiled JSPs. You can use Jikes instead of you'd like. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] >Sent: Monday, March 31, 2003 9:59 AM >To: 'Tomcat Users List' >Subject: Not wholly a Tomcat question but > >Now I did a search of the archives, and found someone else with this same >problem. It seemed to open a whole kettle of resentment, and I do not wish >to reopen an old wound. However the question never really got answered in a >way I can understand. > >I have found the members of this group so helpful and do not wish to offend >at all. If I am out of line here please tell me (but gently as I have such >tender sensibilities). > >I have my Servlets and JSP up and running. Thanks for all the help! > >Then of course I had to mess with them, and added a bean to manage data >which I store in this folder with all my other class files. >C:\Tomcat\webapps\idcard\WEB-INF\classes\idcard. > >Until I added the bean reference the JSP file ran nicely. The JSP file is >stored in this folder: >C:\Tomcat\webapps\idcard > >However when I run the JSP and hit submit to allow the capture of the data >that the bean is used for I get this warning: >org.apache.jasper.JasperException: Unable to compile class for JSPNote: >sun.tools.javac.Main has been deprecated. >Which I don't understand because I am not aware of calling this class but >it >must somehow be referenced as part of something else I am using...but what? > >and this error: Generated servlet error (with some variations on the >theme): > >C:\Tomcat\work\Standalone\localhost\idcard\retrieveData$jsp.java:64: Class >org.apache.jsp.GetData not found. GetData getData = null; > >I have tried moving my bean file around to several different places within >the structure and calling it by idcard.GetData but neither of those >solutions worked. Should the JSP and the bean be in the same folder? It >seems to me it would be adequate to use the path in calling the >bean...wouldn't it? > >Can anyone explain what the issue is and how to resolve it? > >Sandra Patricia Hunter > > > > >--------------------------------------------------------------------- >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]
