-Original Message-
From: Darek Czarkowski
I am not sure if this is relevant but, is session data a
full name of the package?
I would expect to see something like com.packagename.sessionData
As I've been told, I need to wrap it in a package... or in my case
I'm
On Thu, 24 Mar 2005 08:58:48 -, Pawson, David
[EMAIL PROTECTED] wrote:
-Original Message-
From: Darek Czarkowski
I am not sure if this is relevant but, is session data a
full name of the package?
I would expect to see something like
It must be in a package.
-Tim
Pawson, David wrote:
Tomcat 5.0.28
In my index.jsp file I have
%@ page import=sessionData%
%
sessionData s = new sessionData();
s.clrSession(session, index.jsp);
%
And I get the error,
Cannot resolve symbol 'sessionData'.
It is not in a package.
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: 23 March 2005 11:31
To: Tomcat Users List
Subject: Re: jsp imports
It must be in a package.
thanks Tim.
Is there any logic in that?
If tomcat searches %servlet%/WEB-INF/classes/package
On Wed, Mar 23, 2005 at 11:49:38AM -, Pawson, David wrote:
: Is there any logic in that?
:If tomcat searches %servlet%/WEB-INF/classes/package/class
:why can't it search without the package layer?
It's got naught to do with a Tomcat failing; packageless classes are
considered a poor
Subject: Re: jsp imports
It must be in a package.
thanks Tim.
Is there any logic in that?
If tomcat searches %servlet%/WEB-INF/classes/package/class
why can't it search without the package layer?
Ah well.
regards DaveP
-Original Message-
From: QM
:If tomcat searches %servlet%/WEB-INF/classes/package/class
:why can't it search without the package layer?
It's got naught to do with a Tomcat failing;
I'm not 'blaming' Tomcat, just saying its a mismatch
with standard java.
-Original Message-
From: Tim Funk
The java file generated by the JSP is in a package. The
java lanaguage disallows a packageless class if you are in
a package.
Makes more sense Tim.
Thanks for that.
Boring rewrites ahead, or convert the jsp to java.
I am not sure if this is relevant but, is session data a full name of
the package?
I would expect to see something like com.packagename.sessionData
DarekC
On Wed, 2005-03-23 at 03:20, Pawson, David wrote:
Tomcat 5.0.28
In my index.jsp file I have
%@ page import=sessionData%
%
: RE: JSP imports and CLASSPATH issues
Hi Darren:
WEB-INF/lib is where you would put your '.jar' files.
Un'jarred' classes should go in WEB-INF/classes with the usual package
heirarchy under WEB-INF/classes. So your class file should be
WEB-INF/classes/com/javaexchange/dbConnectionBroker
Hi Darren:
WEB-INF/lib is where you would put your '.jar' files. Un'jarred' classes
should go in WEB-INF/classes with the usual package heirarchy under
WEB-INF/classes. So your class file should be
WEB-INF/classes/com/javaexchange/dbConnectionBroker/dbConectionBroker.class
Cheers,
11 matches
Mail list logo