RE: jsp imports

2005-03-24 Thread Pawson, David
-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

Re: jsp imports

2005-03-24 Thread Jason Bainbridge
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

Re: jsp imports

2005-03-23 Thread Tim Funk
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.

RE: jsp imports

2005-03-23 Thread Pawson, David
-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

Re: jsp imports

2005-03-23 Thread QM
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

Re: jsp imports

2005-03-23 Thread Tim Funk
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

RE: jsp imports

2005-03-23 Thread Pawson, David
-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.

RE: jsp imports

2005-03-23 Thread Pawson, David
-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.

Re: jsp imports

2005-03-23 Thread 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 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% %

load-on-startup in web.xml (was RE: JSP imports and CLASSPATH issues)

2002-02-13 Thread Greer, Darren (MED)
: 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

RE: JSP imports and CLASSPATH issues

2002-02-12 Thread Greg Trasuk
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,