Re: trivial error...tomcat 4.1.12...

2002-11-14 Thread Padhu Vinirs
I dont see this email posted. So trying again...


Padhu Vinirs wrote:



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/jcwcd/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



trivial error...tomcat 4.1.12...

2002-11-14 Thread Padhu Vinirs
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/jcwcd/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



Re: trivial error...tomcat 4.1.12...

2002-11-14 Thread Karr, David
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



Re: trivial error...tomcat 4.1.12...

2002-11-14 Thread Padhu Vinirs
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



Re: trivial error...tomcat 4.1.12...

2002-11-14 Thread Hans Bergsten
Padhu Vinirs wrote:

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/jcwcd/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 ?


You have upgraded to JDK 1.4. See here for details:

  http://www.thejspbook.com/faq/details.jsp?id=1007

Hans
--
Hans Bergsten[EMAIL PROTECTED]
Gefion Software   http://www.gefionsoftware.com/
Author of O'Reilly's JavaServer Pages, covering JSP 1.2 and JSTL 1.0
Details athttp://TheJSPBook.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



Re: trivial error...tomcat 4.1.12...

2002-11-14 Thread Padhu Vinirs
Thanks. You are right. I moved to 1.4 last week. And I learnt about this
bug/enhancement  last month. Just didnt put the two together.

-- padhu



Hans Bergsten wrote:


Padhu Vinirs wrote:


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/jcwcd/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 ?



You have upgraded to JDK 1.4. See here for details:

  http://www.thejspbook.com/faq/details.jsp?id=1007

Hans
--
Hans Bergsten[EMAIL PROTECTED]
Gefion Software   http://www.gefionsoftware.com/
Author of O'Reilly's JavaServer Pages, covering JSP 1.2 and JSTL 1.0
Details athttp://TheJSPBook.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