Howdy, Put Password.class under WEB-INF/classes, not WEB-INF/lib. Only .jar files go under the lib directory.
Additionally, I strongly suggest you put Password.class in a package, e.g. com.yourcompany (and then in WEB-INF/classes/com/yourcompany). Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Sarika Inamdar [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 30, 2003 4:00 AM >To: 'Tomcat Users List' >Subject: Error when using Tomcat 4.1.24 > >Hi All, > >We are using tomcat 4.1.24 to connect to web. The application GUI comes >up when we connect to web using >http://<hostname>:8080/index.jsp. > >The next window after this is the Login.jsp page. We use >"Password.class" to check for password integrity to go thru the >Login.jsp page. But I get the following error when I give password, and >press enter : > >org.apache.jasper.JasperException: Unable to compile class for JSP > >An error occurred at line: 3 in the jsp file: /login.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] >/export/spare/CSCOPerfE/tomcat/work/Standalone/localhost/_/login_jsp.ja v >a:57: cannot resolve symbol > [javac] symbol : variable Password > [javac] location: class org.apache.jsp.login_jsp > [javac] InputStream is = Password.getPasswordsFromDB(); > > >We have placed the Password.class under /webapps/ROOT/WEB-INF/lib/. > >Am I missing some configuration ? Please help me on this. > >Thanks, >Sarika > > >--------------------------------------------------------------------- >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]
