\webapps\ROOT\WEB_INF\classes in the Windows environment variables, but that hasn't improved matters :-(
Anyone got any ideas?
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 10 March 2004 8:57 a.m.
To: Tomcat Users List
Subject: RE: webapps\ROOT\WEB-INF
never exposed to the
technology before?
Thanks again,
-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 10 March 2004 10:48 p.m.
To: Tomcat Users List
Subject: Re: webapps\ROOT\WEB-INF\classes
I'm fairly certain classes deployed to
web-app\WEB-INF
-Original Message-
From: Colin McKinstry [mailto:[EMAIL PROTECTED]
I was trying to copy verbatim from JSP: Weekend Crash
Course, but the book seems hopelessly flawed.
That book was written to use Tomcat 3 and the 1.2 JDK. If you use these
versions, you can use the book as-is.
I made the class just fine under JDK 1.4
-Original Message-
From: Rob Ross [mailto:[EMAIL PROTECTED]
Sent: Thursday, 11 March 2004 10:30 a.m.
To: 'Tomcat Users List'
Subject: RE: webapps\ROOT\WEB-INF\classes
-Original Message-
From: Colin McKinstry [mailto:[EMAIL
From: Colin McKinstry [mailto:[EMAIL PROTECTED]
I made the class just fine under JDK 1.4
You can compile the Fruit class just fine unter JDK 1.4, but you cannot
then import it into any class that *is* in a package. And JSP's get
turned into Servlet code that is in a package, so things start
Any ideas how to cure it then?
I've tried declaring it as a package
package com.stevensons;
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, 11 March 2004 10:56 a.m.
To: Tomcat Users List
Subject: RE: webapps\ROOT\WEB-INF\classes
From: Colin
From: Colin McKinstry [mailto:[EMAIL PROTECTED]
Any ideas how to cure it then?
I've tried declaring it as a package
package com.stevensons;
Did you add/change the import directive in the JSP? Perhaps we'd better
start over.
You've added the package statement to Fruit.java, correct? Then
Wendy wrote:
Did you add/change the import directive in the JSP?
Yes.
%@ page language=java import=com.stevensons.* %
jsp:useBean id=fruitItem class=Fruit scope=page
jsp:setProperty name=fruitItem property=*/
Etc.,
Perhaps
we'd better
start over.
You've added the package
so that I can correct and delete the original
email. Thank you.
:: -Original Message-
:: From: Colin McKinstry [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, March 11, 2004 12:24 AM
:: To: Tomcat Users List
:: Subject: RE: webapps\ROOT\WEB-INF\classes
::
:: Wendy wrote:
::
:: Did you add
No, no taglib. Thanks though.
-Original Message-
From: Schalk [mailto:[EMAIL PROTECTED]
Sent: Thursday, 11 March 2004 11:34 a.m.
To: 'Tomcat Users List'
Subject: RE: webapps\ROOT\WEB-INF\classes
Do you have this set-up as a taglib? If so, do you have the
needed .tld file
Not having much success learning tomcat and jsp :-(
According to the documentation any classes I place in the aforementioned location
should work. Nothing I try seems to pick up any classes. For example:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at
From: Colin McKinstry [mailto:[EMAIL PROTECTED]
The only thing I've done configuration wise is define
CATALINA_HOME base. I also had to create the classes
directory in WEB-INF since it wasn't there.
Did you restart after creating the 'classes' directory and putting your
class in it?
Yes, I did restart it.
How do I know what classpath Tomcat built?
Did you restart after creating the 'classes' directory and
putting your
class in it? AFAIK, Tomcat builds its classpath at startup, so if the
directory wasn't there then, it might not be seeing the contents now.
--
.
To: Tomcat Users List
Subject: RE: webapps\ROOT\WEB-INF\classes
From: Colin McKinstry [mailto:[EMAIL PROTECTED]
The only thing I've done configuration wise is define
CATALINA_HOME base. I also had to create the classes
directory in WEB-INF since it wasn't there.
Did you restart
14 matches
Mail list logo