web-inf/classes

2002-05-06 Thread Chris Shen
this is a bizzare one. i've placed all my classes under the web-inf/classes with the appropriate class structure and everything, and it was working fine on my tomcat 3.3. yet, after i migrated it to 4.03, i tried to run it the first time and compiled it, and i kept on ge

WEB-INF/classes

2002-02-07 Thread Anja Falkner
Hello, at setting up a new context for Tomcat, I must have forgotten something, because tomcat doesn't find my classes in WEB-INF/classes. The following fault appears: login_0005ftest$jsp.java:71: Class org.apache.jsp.DBSConnect not

WEB-INF\Classes

2001-02-16 Thread John Burr
e class file is under c:\JspIn24Hours\WEB-INF\classes\x . I can get around this by putting the class file under $TOMCAT_HOME\classes\x or by keeping my docBase under $TOMCAT_HOME\webapps\ in the first place. Did I miss something? Than

Re: web-inf/classes

2002-05-06 Thread Paul DuBois
At 15:18 -0700 5/6/02, Chris Shen wrote: >this is a bizzare one. i've placed all my classes under the web-inf/classes Is it web-inf or WEB-INF? If the former, rename it. >with the appropriate class structure and everything, and it was working fine >on my tomcat 3.3. yet, after i

Re: web-inf/classes

2002-05-07 Thread chuck amadi
Chris Shen wrote: >this is a bizzare one. i've placed all my classes under the web-inf/classes >with the appropriate class structure and everything, and it was working fine >on my tomcat 3.3. yet, after i migrated it to 4.03, i tried to run it the >first time and compiled

Re: WEB-INF/classes

2002-02-07 Thread Nancy Crisostomo Martinez
something like this: Hope this help you.. Anja Falkner wrote: > Hello, > > at setting up a new context for Tomcat, I must have forgotten something, because >tomcat doesn't find my classes in WEB-INF/classes. The following fault appears: > > login_0005f

Re: WEB-INF/classes

2002-02-07 Thread Anja Falkner
Hi Nancy, I am using Tomcat 4.0.1. What's to do here? Anja -- To unsubscribe: For additional commands: Troubles with the list:

RE: WEB-INF/classes

2002-02-07 Thread Reynir Hübner
; Sent: 7. febrúar 2002 22:06 > To: Tomcat Users List > Subject: Re: WEB-INF/classes > > > Hi Nancy, > > I am using Tomcat 4.0.1. What's to do here? > > Anja > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands

Re: WEB-INF/classes

2002-02-07 Thread Nancy Crisostomo Martinez
Anja, I'm not sure, but I know that Tomcat 3.3 and later have a similar behavior. So the only thing you have to do is to create the apps-contextname.xml file and put it on tomcat-path/conf directory: The xml file is like this: If you want to can check the apps-examples.xml file th

RE: WEB-INF/classes

2002-02-07 Thread Larry Isaacs
gt; From: Anja Falkner [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 07, 2002 4:37 PM > To: Tomcat Users List > Subject: WEB-INF/classes > > > Hello, > > at setting up a new context for Tomcat, I must have forgotten > something, because tomcat doesn'

Re: WEB-INF/classes

2002-02-07 Thread Anja Falkner
Hi Reynir, but exactly this I have done! The strange is: My JSP-Files are found at this location with http://www.yourserver.com/nameofcontext ! But when the JSP-files use classes from WEB-INF, I get an error. I am really desperate! Anja -- To unsubscribe: For addit

RE: WEB-INF/classes

2002-02-07 Thread Reynir Hübner
check out Larry Isaacs reply, it sounds very possible to solve your problem. -reynir > -Original Message- > From: Anja Falkner [mailto:[EMAIL PROTECTED]] > Sent: 7. febrúar 2002 22:32 > To: Tomcat Users List > Subject: Re: WEB-INF/classes > > > Hi Reynir, >

RE: WEB-INF/classes

2002-02-07 Thread Anton Brazhnyk
Hi Anja, > -Original Message- > From: Anja Falkner [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 07, 2002 11:37 PM > To: Tomcat Users List > Subject: WEB-INF/classes > > > Hello, > > at setting up a new context for Tomcat, I must have forgotte

RE: WEB-INF\Classes

2001-02-16 Thread Randy Layman
To: [EMAIL PROTECTED] Subject: WEB-INF\Classes I'm running Tomcat 3.2.1 under Windows 2000. I have a Server.xml entry of: I can browse to http://localhost:8080/JspIn24Hours OK and some links off of that page work. But one those pages uses a bean and I get an "Unable to

RE: WEB-INF\Classes

2001-02-16 Thread John Burr
[mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 4:12 PM To: [EMAIL PROTECTED] Subject: RE: WEB-INF\Classes Are you really sure that the directory is WEB-INF? Tomcat is written in Java, which means that file names are case sensitive even though Windows isn't. I would suggest

web-inf/classes and eclipse

2002-08-19 Thread Laurent Michenaud
Hi, I use the editor Eclipse but when i launch "Rebuild all", it deletes all the content of the WEB-INF/classes directory. Inside, there is all my *.properties file. The idea is to create a WEB-INF/config where i could put the properties files but i don't know how to add this

packages under WEB-INF/classes

2001-04-16 Thread Mark
I have read on this list and in docs if your servlet class is part of a package, say com.foo.foobar...that if you put it in a directory called $TOMCAT_HOME/webapps/myapp/WEB-INF/classes/com/foo/foobar assuming the source file has the statement package com.foo.foobar; it will be picked up by

web-inf/classes not found ?

2001-09-27 Thread Mikael Aronsson
Hi ! Tomcat complains that it can't find some of my classes .../web-inf/classes/xxx/yyy/myclassses for example, Everything works fine when I compile it (I specify the -classpath to let the compiler find the classes), but when I run the application in Tomcat, it does not find the classes.

subfolders in WEB-INF/classes

2001-11-26 Thread Ralf Praschak
hello! i´ve a simple question but couldn´t find an answer yet. how do i enable subfolders in the classes directory running servlets from the classes folder works fine. but i want to structure this diretory (automatically). i´ve created a subfolder test and a symbolic link mobinet and put the sa

WEB-INF/classes not loading

2001-06-20 Thread Jacob Thomas
I am using Tomcat 3.2.2. Somehow, it does not seem to load classes from the WEB-INF/classes directory. Is there anything I need to set in the conf/server.xml file for this to work? -- Thanks Jacob

Re[2]: WEB-INF/classes

2002-02-08 Thread Serge A. Redchuk
Hello Anla, >> at setting up a new context for Tomcat, I must have forgotten >> something, because tomcat doesn't find my classes in >> WEB-INF/classes. The following fault appears: >> >> login_0005ftest$jsp.java:71: Class

Problem with WEB-INF/classes

2004-01-20 Thread Paco Ros
Hi! I have a little problem with my classpath. I've just downloaded Tomcat 5 and I've created a simple new webapp ($TOMCAT_HOME/webapps/myapp). I've compiled a class into myapp/WEB-INF/classes/ and I've writen a simple JSP page that uses this class. When I access

webapps\ROOT\WEB-INF\classes

2004-03-09 Thread Colin McKinstry
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 lin

Re: web-inf/classes and eclipse

2002-08-20 Thread Andreas Probst
"Rebuild all", it deletes all the content of > the WEB-INF/classes directory. > > Inside, there is all my *.properties file. > > The idea is to create a WEB-INF/config where i > could put the properties files but i don't know how > to add this directory into the

RE: web-inf/classes and eclipse

2002-08-20 Thread Laurent Michenaud
À : Tomcat Users List > Objet : Re: web-inf/classes and eclipse > > > Hi Michenaud, > > using Ant together with Eclipse might be an option. You can > run Ant from inside Eclipse by right-clicking the build.xml > file and choosing the right operation (I now don&

RE: web-inf/classes and eclipse

2002-08-20 Thread Andreas Probst
t 2002 09:37 > > À : Tomcat Users List > > Objet : Re: web-inf/classes and eclipse > > > > > > Hi Michenaud, > > > > using Ant together with Eclipse might be an option. You can > > run Ant from inside Eclipse by right-clicking the build.xml > > fi

WEB-INF/classes, WEB-INF/lib

2002-10-14 Thread Frank Liu
Is it true that WEB-INF/classes overrides WEB-INF/lib in the classpath? I have a binary jar file in WEB-INF/lib and need to overwrite on class in the jar file, can you just put my class in the WEB-INF/classes and tomcat will take care of it automatically? Frank -- To unsubscribe, e-mail

Class Loader ignoring WEB-INF classes

2002-10-18 Thread Greg Bullough
Didn't find anything about this one in the archives. I have a package called 'foo,' consisting of a single .class file which I'd like to just shove in my WEB-INF/classes/foo directory. When I do so, I get complaints on invoking a method from the class that package '

Re: packages under WEB-INF/classes

2001-04-16 Thread Sam Newman
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 16, 2001 3:10 PM Subject: packages under WEB-INF/classes > I have read on this list and in docs if > your servlet class is part of a package, > say com.foo.foobar...that > if you put it in a directory called >

Re: packages under WEB-INF/classes

2001-04-16 Thread Mark
t;Sam Newman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Mark" <[EMAIL PROTECTED]> Sent: Monday, April 16, 2001 10:15 AM Subject: Re: packages under WEB-INF/classes > Does your entry in the web.xml for your context reference the servlet using > its full path?

Re: packages under WEB-INF/classes

2001-04-16 Thread Ed Gomolka
OTECTED]>; "Mark" <[EMAIL PROTECTED]> >Sent: Monday, April 16, 2001 10:15 AM >Subject: Re: packages under WEB-INF/classes > > > > Does your entry in the web.xml for your context reference the servlet >using > > its full path? Also, double check the case of

RE: web-inf/classes not found ?

2001-09-27 Thread Chaber, Eric
Mikeal, you have to specify in server.xml where your classes are. for the example directory it's /webapps/examples/web-inf/classes recreate same path in server.xml /webapps/mydir/web-inf/classes reboot tomcat put your class files there tomcat should find them rgds, Eric -Original Me

Re: web-inf/classes not found ?

2001-09-27 Thread Mikael Aronsson
Ok, thanks, I will see if I can figure out how to do that The documentation says that Tomcat (4) always adds a classloader for each web application that looks in the web-inf/classes and web-inf/dir directory, I could not find any examples/web-inf/classes reference in my server.xml, I guess I

RE: web-inf/classes not found ?

2001-09-27 Thread Chaber, Eric
Edit your server.xml copy paste change "examples" to "mydir" create a dir $TOMCAT_HOME/webapps/mydir under my dir creates directories WEB-INF/classes at the end you should have $TOMCAT_HOME/webapps/mydir/WEB-INF/classes reboot tomcat put yur classes there

Re: web-inf/classes not found ?

2001-09-27 Thread Mikael Aronsson
Ok, many thanks for the help. Mikael - Original Message - From: "Chaber, Eric" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 27, 2001 1:32 PM Subject: RE: web-inf/classes not found ? > Edit your server.xml > copy paste > >

Réf. : web-inf/classes not found ?

2001-09-27 Thread joseph . vallot
] Pour :tomcat-user cc : ccc : Objet : web-inf/classes not found ? Hi ! Tomcat complains that it can't find some of my classes .../web-inf/classes/xxx/yyy/myclassses for example, Everything works fine when I compile it (I specify the -classpath to let the compiler find the classes)

Re: Problem with WEB-INF/classes

2004-01-20 Thread Ben Souther
Put you're classes in a package. On Tuesday 20 January 2004 08:31 am, Paco Ros wrote: > Hi! > > I have a little problem with my classpath. > > I've just downloaded Tomcat 5 and I've created a simple new webapp > ($TOMCAT_HOME/webapps/myapp). > > I've

RE: Problem with WEB-INF/classes

2004-01-20 Thread Sanjeev Kumar
I've just downloaded Tomcat 5 and I've created a simple new webapp ($TOMCAT_HOME/webapps/myapp). I've compiled a class into myapp/WEB-INF/classes/ and I've writen a simple JSP page that uses this class. When I access the JSP page I get a compilation error (ClassNotFound)

Re: Problem with WEB-INF/classes

2004-01-20 Thread Paco Ros
El Martes, 20 de Enero de 2004 14:37, Ben Souther escribió: > Put you're classes in a package. Yes. I do :-) wanda:/opt/jakarta-tomcat-5.0.16/webapps/multimedia/WEB-INF/classes# tree . `-- es `-- uib `-- ein `-- multimedia |-- Base64$InputStre

RE: Problem with WEB-INF/classes

2004-01-20 Thread Sanjeev Kumar
Replace the line <[EMAIL PROTECTED] import="java.util.*, es.uib.ein.multimedia" %> with <[EMAIL PROTECTED] import="java.util.*, es.uib.ein.multimedia.*" %> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Problem with WEB-INF/classes

2004-01-20 Thread Paco Ros
El Martes, 20 de Enero de 2004 14:52, Paco Ros escribió: > wanda:/opt/jakarta-tomcat-5.0.16/webapps/multimedia/accions# cat login.jsp > <[EMAIL PROTECTED] contentType="text/html"%> > <[EMAIL PROTECTED] import="java.util.*, es.uib.ein.multimedia" %> ^ Oh my God!!! I

Re: Problem with WEB-INF/classes

2004-01-20 Thread Paco Ros
El Martes, 20 de Enero de 2004 14:56, Sanjeev Kumar escribió: > Replace the line > > <[EMAIL PROTECTED] import="java.util.*, es.uib.ein.multimedia" %> > > with > > <[EMAIL PROTECTED] import="java.util.*, es.uib.ein.multimedia.*" %> Yes, yes. 4 years woring with J2EE stuff and I already write so st

The purpose of WEB-INF\classes ?

2004-03-01 Thread George Hester
This is not a question to fix a problem other then one in my head. I am not sure what the difference is putting a jar in a \WEB-INF\lib and setting up a \WEB-INF\classes. Since a jar usually just includes class files if we put a jar in the webapp's \WEB-INF\lib what would be the purpo

RE: webapps\ROOT\WEB-INF\classes

2004-03-09 Thread Wendy Smoak
> 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?

RE: webapps\ROOT\WEB-INF\classes

2004-03-09 Thread Colin McKinstry
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. > > --

RE: webapps\ROOT\WEB-INF\classes

2004-03-09 Thread Colin McKinstry
7 a.m. > 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 &g

Re: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Jon Wingfield
I'm fairly certain classes deployed to \WEB-INF\classes have to be in packages. So your Fruit class should be deployed to \WEB-INF\classes\com\stevensons if the Fruit class is in the com.stevensons package. In your jsp you also MUST import the class you want to use. eg: <%@ pag

RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Colin McKinstry
at explains Tomcat and JSP for those 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 &

RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Rob Ross
> -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.

RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Colin McKinstry
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 > > > > > > -Orig

RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Wendy Smoak
> 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

RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Colin McKinstry
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\cl

RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Wendy Smoak
ment to Fruit.java, correct? Then you need to compile it, and place it in WEB-INF/classes/com/stevensons . If all that is done, please post the JSP code that Tomcat is complaining about. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Infor

RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Colin McKinstry
ct? Then you > need to compile it, and place it in > WEB-INF/classes/com/stevensons . Yes, and it is that location. If > all that is done, please post the JSP code that Tomcat is complaining > about. > Exception org.apache.ja

RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Schalk
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

RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Colin McKinstry
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

RE: WEB-INF/classes, WEB-INF/lib

2002-10-14 Thread Scott Purcell
: Frank Liu [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 3:04 PM To: [EMAIL PROTECTED] Subject: WEB-INF/classes, WEB-INF/lib Is it true that WEB-INF/classes overrides WEB-INF/lib in the classpath? I have a binary jar file in WEB-INF/lib and need to overwrite on class in the jar file

RE: WEB-INF/classes, WEB-INF/lib

2002-10-14 Thread Craig R. McClanahan
ust jar them all back. Containers that follow the servlet spec's requirements will load classes from "/WEB-INF/classes" before they look at the JAR files in "/WEB-INF/lib". [Section 9.5, last sentence before 9.5.1 starts]. > Scott Craig -- To unsubscribe, e-mail: &

Re: WEB-INF/classes, WEB-INF/lib

2002-10-14 Thread Will Hartung
- Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, October 14, 2002 2:11 PM Subject: RE: WEB-INF/classes, WEB-INF/lib > > > On Mon, 14 Oct 2002, Scott Purcell wrote: &g

Re: WEB-INF/classes, WEB-INF/lib

2002-10-14 Thread Craig R. McClanahan
On Mon, 14 Oct 2002, Will Hartung wrote: > Date: Mon, 14 Oct 2002 14:30:40 -0700 > From: Will Hartung <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: WEB-INF/classes, WEB-INF

RE: Class Loader ignoring WEB-INF classes

2002-10-18 Thread Cox, Charlie
which version of tomcat? what's the error message? are you using catalina.policy, if so did you allow the WEB-INF/classes directory? Charlie > -Original Message- > From: Greg Bullough [mailto:gwb@;outofchaos.com] > Sent: Friday, October 18, 2002 11:57 AM > To:

RE: Class Loader ignoring WEB-INF classes

2002-10-18 Thread Greg Bullough
At 12:43 PM 10/18/02 -0400, Cox, Charlie wrote: are you using catalina.policy, if so did you allow the WEB-INF/classes directory? Thanks Charlie! That's it! What's the protocol for getting a hyperlink to security policies added to the Class Loader HOWTO? Probably worth noting that t

RE: Class Loader ignoring WEB-INF classes

2002-10-18 Thread Cox, Charlie
Tomcat Users List > Subject: RE: Class Loader ignoring WEB-INF classes > > > At 12:43 PM 10/18/02 -0400, Cox, Charlie wrote: > >are you using catalina.policy, if so did you allow the > WEB-INF/classes > >directory? > > Thanks Charlie! > > That's i

Re: Réf. : web-inf/classes not found ?

2001-09-27 Thread Mikael Aronsson
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 27, 2001 1:00 PM Subject: Réf. : web-inf/classes not found ? > > Hi... > > you seem working on windows (your email header say so): beware on case ;) > it is NOT web-inf, it is WEB-INF (under explorer right

loading applet from web-inf/classes sunfolder

2001-03-02 Thread Jost, Dominique
hi my home-directory on the tomcat server looks like this http://localhost:8080/fundopt. under fundopt i have a folder (called jsp) containing all my jsp files. i want to acces an applet (which has its source files in the web-inf/classes/xy folder) with the following piece of code: from jsp

Re: The purpose of WEB-INF\classes ?

2004-03-01 Thread Justin Ruthenbeck
fference is putting a jar in a \WEB-INF\lib and setting up a \WEB-INF\classes. Since a jar usually just includes class files if we put a jar in the webapp's \WEB-INF\lib what would be the purpose of setting the tree of classes expanded in WEB-INF\classes? Let me give an example. In Tomc

RE: The purpose of WEB-INF\classes ?

2004-03-01 Thread mike jackson
OTECTED] > Subject: The purpose of WEB-INF\classes ? > > This is not a question to fix a problem other then one in my head. I am > not sure what the difference is putting a jar in a \WEB-INF\lib and > setting up a \WEB-INF\classes. Since a jar usually just includes class > files if

Re: The purpose of WEB-INF\classes ?

2004-03-02 Thread Jon Wingfield
WEB-INF/classes takes precedence over WEB-INF/lib in the servlet spec: 2.3fcs, section "SRV.9.5 Directory Structure". If WebLogic 6.1 behaves differently then it's another spec violation ;) Jon Justin Ruthenbeck wrote: To you (the end-user), there's no purpose for it oth

RE: The purpose of WEB-INF\classes ?

2004-03-02 Thread Shapira, Yoav
Hi, >WEB-INF/classes takes precedence over WEB-INF/lib in the servlet spec: >2.3fcs, section "SRV.9.5 Directory Structure". >If WebLogic 6.1 behaves differently then it's another spec violation ;) WL6.1 is Servlet Specification 2.2-compliant, not 2.3. I think that loadi

RE: The purpose of WEB-INF\classes ?

2004-03-02 Thread Justin Ruthenbeck
idn't make it into that release. justin At 05:58 AM 3/2/2004, you wrote: Hi, >WEB-INF/classes takes precedence over WEB-INF/lib in the servlet spec: >2.3fcs, section "SRV.9.5 Directory Structure". >If WebLogic 6.1 behaves differently then it's another spec violation ;)

Automatically reload servlets in WEB-INF/classes?

2000-11-10 Thread Dana P. Hammond
When I compile and store my classes in .../webpages/WEB-INF/classes, they work fine. If I make any changes to a class, I must stop and start tomcat for the changes to be propagated. My understanding is the the WEB-INF/classes directory will automatically reload servlets when their class file

Visibility of resources under WEB-INF/classes

2005-02-19 Thread Rico
e documentation on their respective websites claim to be just a matter of placing in WEB-INF/classes and people confirming success at it. Examples are log4j.properties, hibernate.properties and hibernate.cfg.xml. So, is this the expected behaviour? If I install the web application in e.g c

Cannot compile class in WEB-INF/classes

2005-03-10 Thread Rahul Joshi
I have a Simple JSP page in my webapps/myappname. I have a utility class which this page will use. The class file for this should be in webapps/myappname/WEB-INF/classes. So I put the java source file in that directory (webapps/myappname/WEB-INF/classes). Also, a method in this utility class has

getResourceAsStream doesn't find files in WEB-INF/classes

2001-06-22 Thread Richard Sand
Hi- I've deployed an application with Tomcat at the root (i.e. "/"). At one point I load a resource file with the command: InputStream is = getClass().getResourceAsStream("/app.properties"); But Tomcat throws an exception here if the file app.properties is in the /

resource files not found in /WEB-INF/classes

2002-02-12 Thread Michael Kintzer
Tomcat 4.0.1: According to tomcat-docs/appdev/deployment.html, webapps/mywebapp/WEB-INF/classes/ is the appropriate location for any associated resource files required for an application "mywebapp". I have placed a properties file "config.properties" in my /WEB-INF/classes/

RE: loading applet from web-inf/classes sunfolder

2001-03-02 Thread Randy Layman
ndopt/applet and put your applet code in there and then use codebase="../applet/". Randy -Original Message- From: Jost, Dominique [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 9:45 AM To: '[EMAIL PROTECTED]' Subject: loading applet from web-inf/classe

Re: loading applet from web-inf/classes sunfolder

2001-03-02 Thread William Brogden
"Jost, Dominique" wrote: > > hi > > my home-directory on the tomcat server looks like this >http://localhost:8080/fundopt. under fundopt i have a folder (called jsp) containing >all my jsp files. > i want to acces an applet (which has its source files in

WEB-INF/classes not loading from corrrect classloader

2003-02-28 Thread Craig R
when Tomcat (4.0.6) is run through my debugger, the WEB-INF/classes are not loaded by org.apache.catalina.loader.WebappClassLoader. They are apparently loaded by the system classloader. So my Class A instance is shared between my 2 web-apps when in fact they should each have their own instance.

how to access files in WEB-INF/classes

2003-03-11 Thread Sylvain.Thevoz
Hello, I have put some INI files in WEB_INF/classes because I want an unique path for all deployment. How can I access to these files (path)? Thanks Sylvain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Problem finding class files from Web-inf/classes

2003-07-31 Thread N.B.Bopanna
hi all, I am using Tomacat4.1.24. My application cannot find unpackaged class files placed in application's Web-inf/classes directory. Should i have to set some classpath explicitly or should it be found by default. Thanx Bopanna. Power of Global Information Access... .. Browser base

Tomcat 4.* compilation of the WEB-INF classes

2004-05-18 Thread Ben Bookey
Dear List, I am using tomcat 4.0. My experience sofar is that when I put my uncompiled .java files inside the WEB-INF\classes directory, and do a restart the java files will ALL be compiled. This is not due to my web-xml settings, but default Tomcat 4. behaviour. However, later when I made a

Re: Automatically reload servlets in WEB-INF/classes?

2000-11-10 Thread Ingo Luetkebohle
On Fri, Nov 10, 2000 at 02:22:37PM -0500, Dana P. Hammond wrote: > When I compile and store my classes in .../webpages/WEB-INF/classes, > My understanding is the the WEB-INF/classes directory will automatically > reload servlets when their class file changes. Is this true for Sol

Tomcat Test in ...test\web-inf\classes\calendar

2000-12-18 Thread jang won koh
How do I test are classes the subfolders in tomcat\webapps\test\web-inf\classes\. What is the URL to access tomcat\webapps\test\web-inf\classes\calendar\JspCalendar.class ? http://localhost:8080/test/servlet/calendar/JspCalendar doesn't work. Thanks in advance.

Problem for loading files under WEB-INF/classes

2005-06-09 Thread Vincent
I want to load some files that I've placed in the WEB-INF/classes directory of my project (particularly the file log4j.properties). The problem is that I always have the same errors logged in stdout tomcat's log file : java.io.FileNotFoundException... The files are well-placed, and

Re: Visibility of resources under WEB-INF/classes

2005-02-19 Thread sven morales
Hi, Are you putting your classes at tomcat5/webapps/yourwebapp/WEB-INF/classes ? or the corresponding tomcat5/webapps/youwebapp/WEB-INF/lib if it is archived? aka_Sergio --- Rico <[EMAIL PROTECTED]> wrote: > Hello Everyone. > I'm using Tomcat 4.1.31, and observed a sim

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Rico
--- sven morales <[EMAIL PROTECTED]> wrote: > Hi, > Are you putting your classes at tomcat5/webapps/yourwebapp/WEB-INF/classes ? What I outlined in my email is that when I don't do the above because I use my own Tomcat cannot find the resources as follows: C:\myWebAp

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread sven morales
CTED]> wrote: > > Hi, > > Are you putting your classes at > tomcat5/webapps/yourwebapp/WEB-INF/classes ? > > What I outlined in my email is that when I don't do > the above > because I use my own path="/something"> > > Tomcat cannot find the res

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Rico
;s no difference. The problem persists, exactly the same. Rico. > aka_sergio > > --- Rico <[EMAIL PROTECTED]> wrote: > > > --- sven morales <[EMAIL PROTECTED]> wrote: > > > Hi, > > > Are you putting your classes at > > tomcat5/webapps/yourwe

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Jason Bainbridge
On Sun, 20 Feb 2005 16:50:39 -0800 (PST), Rico <[EMAIL PROTECTED]> wrote: > > --- sven morales <[EMAIL PROTECTED]> wrote: > > > Hi, > >I have no problem doing that in linux, having the > > jsp files and classes in another directory besides > > being under $CATALINA_HOME. > > I wonder if yo

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Rico
--- Jason Bainbridge <[EMAIL PROTECTED]> wrote: > On Sun, 20 Feb 2005 16:50:39 -0800 (PST), Rico <[EMAIL PROTECTED]> wrote: > > --- sven morales <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > >I have no problem doing that in linux, having the > > > jsp files and classes in another directory bes

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Hassan Schroeder
Rico wrote: What I outlined in my email is that when I don't do the above because I use my own Tomcat cannot find the resources as follows: C:\myWebApp\WEB-INF\classes\hibernate.cfg.xml and OK, just took a look at an old Windows(2k) machine w/4.x stuff on it; those apps, which all worked

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Matt
PROTECTED]> wrote: > > > --- sven morales <[EMAIL PROTECTED]> wrote: > > > Hi, > > > Are you putting your classes at > > tomcat5/webapps/yourwebapp/WEB-INF/classes ? > > > > What I outlined in my email is that when I don't do > > the abov

RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Anderson, M. Paul
Did you import javax.servlet.http.* ? -Original Message- From: Rahul Joshi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 1:19 PM To: tomcat-user@jakarta.apache.org Subject: Cannot compile class in WEB-INF/classes I have a Simple JSP page in my webapps/myappname. I have a

RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Rahul Joshi
gt; -Original Message- > From: Rahul Joshi [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 10, 2005 1:19 PM > To: tomcat-user@jakarta.apache.org > Subject: Cannot compile class in WEB-INF/classes > > > I have a Simple JSP page in my webapps/myappname. I > have a utility

RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Anderson, M. Paul
Have you compiled the class previously? The source for the class does not go in the "WEB-INF/classes" directory - only the class files go here. You also need to pre-compile your classes - Tomcat doesn't do this for you. -Original Message- From: Rahul Joshi [mailto:[

RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Rahul Joshi
compiled in "WEB-INF/classes" if it is accessing Tomcat's own servlet-api.jar? Thanks, Rahul. --- "Anderson, M. Paul" <[EMAIL PROTECTED]> wrote: > Have you compiled the class previously? The source > for the class does > not go in the "WEB-INF/classes&

RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Caldarale, Charles R
> From: Rahul Joshi [mailto:[EMAIL PROTECTED] > Subject: RE: Cannot compile class in WEB-INF/classes > > I did not try compiling it at an external location. I > thought I would compile it in classes and then delete > the source java file later. That shouldn't matter. Y

[tomcat & java.io.File] Reading a file from /WEB-INF/classes

2002-11-07 Thread Garrett Smith
Hello Everyone, I want to read the file /WEB-INF/classes/confirmation.txt The file is read from /WEB-INF/classes/com/dhtmlkitchen/reg/mail/FileFormatter.java File formatter.java snip: class FileFormatter { private FileFormatter(){} /** formatFile accepts a filename

Must servlets be inside WEB-INF/classes pr /lib?

2001-10-04 Thread Firestar
Hi, I'm using TC 4.0, and my servlets (due to some constraints) must be placed in a separate folder, e.g. E:\myclasses\servlets instead of the recommended Servlet Deployment structure, i.e. WEB-INF/classes or WEB-INF/lib. Is this possible in TC? I know in JRun it is possible to do

Re: getResourceAsStream doesn't find files in WEB-INF/classes

2001-06-22 Thread lists
t Tomcat throws an exception here if the file app.properties is in the >/WEB-INF/classes directory. If I copy it into a directory that is in the >default CLASSPATH, then it works fine. Isn't the WEB-INF/classes directory >for each deployed application automatically added to the Tomca

  1   2   >