Strangely, it works once I put in a package. Whatever....

Thanks


-- padhu



Karr, David wrote:

In short, don't use the default package.  Put all of your classes in
packages.



-----Original Message-----
From: Padhu Vinirs [mailto:p.padhu@;VERIZON.NET]
Sent: Thursday, November 14, 2002 7:22 AM
To: [EMAIL PROTECTED]
Subject: trivial error...tomcat 4.1.12...


I was not getting this error before. It has started suddenly today.

An error occurred at line: 5 in the jsp file: /jsp/testBean.jsp

Generated servlet error:
   [javac] Compiling 1 source file

/home/pady/jakarta-tomcat-4.1.12/work/Standalone/localhost/jcw
cd/jsp/testBean_jsp.java:7: '.' expected
import TestBean;


I have the class "TestBean" in WEB-INF/classes. It does not
have a package. This was working fine till now.


Any ideas ?


-- padhu

==============================================================
=============
To unsubscribe: mailto [EMAIL PROTECTED] with body:
"signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set
JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com



=========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com



===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com

Reply via email to