Title: SV: Roll-BACK question.
Noc noc,
Can someone please still have some advice on the
question I posted below ??
Eddie
- Original Message -
From:
Eddie
Post
To: Orion-Interest
Sent: Tuesday, August 14, 2001 9:18
AM
Subject: PrOperTies ??
Hellu,
ce per JVM for the initialization, and have it your
way.
HTH
Juan
Pablo
-Original Message-From: Eddie Post
[mailto:[EMAIL PROTECTED]]Sent: MiƩrcoles, 22 de Agosto de
2001 6:32To: Orion-InterestSubject: Re: PrOperTies
??
Noc noc,
Can someone please still have s
Title: SV: Roll-BACK question.
Thanks Juan, I like the load-on-startup alternative
and will play around with it.
Ed
- Original Message -
From:
Juan
Lorandi (Chile)
To: Orion-Interest
Sent: Wednesday, August 22, 2001 5:14
PM
Subject: RE: PrOperTies ??
env
I would really hate the fact if
orion/applications/myapp was swiped on the next deployment, since my htdocs are
mounted under that directory. And we have customers who uses fileupload for
images that are to be displayed. And if the directory is to be swiped everytime
we update the
default orion home directory. for example if you installed it on windows OS
on your drive d:\orion.. It'll look under d:\orion unless u specify any path
in jsp.
where does Orion look for the properties file for JSPs that
use them.
From: "Russ White" [EMAIL PROTECTED]
try putting your jar files in /web-inf/lib
you may have to create the directory.
beer would be nice.
hope that helps.
I've added stuff like:
library path='/home/site/java/jars/mail.jar'/
library path='/home/site/java/classes'/
Shouldn't that do?
Or
From: "Jason Smith" [EMAIL PROTECTED]
I am assuming you are talking about a java.util.Property file here. If
the
class that wants to access the property file is bundled within a jar, you
should try using the Class.getResource(String name) method. Just remember
if you put the properties in
"Magnus Naeslund(b)" wrote:
Shouldn't that do?
Or is /WEB-INF special?
According to specs WEB-INF/classes is where your (non-jarred) classes
should go and WEB-INF/lib is where you should put your .jar files (e.i.
your mail.jar). I suppose your jar should work if you put it in
It depends on were you added it.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus
Naeslund(b)
Sent: Saturday, November 11, 2000 3:03 AM
To: Orion-Interest
Subject: Re: Properties
From: "Russ White" [EMAIL PROTECTED]
try putting your
From: "Sven van 't Veer" [EMAIL PROTECTED]
"Magnus Naeslund(b)" wrote:
Shouldn't that do?
Or is /WEB-INF special?
According to specs WEB-INF/classes is where your (non-jarred) classes
should go and WEB-INF/lib is where you should put your .jar files (e.i.
your mail.jar). I suppose
- Original Message -
From: "Russ White" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Saturday, November 11, 2000 12:07
Subject: RE: Properties
It depends on were you added it.
In application.xml.
It works.
It loads classes from the .jar,
Hmm.
I've decompiled a some of the jar package's classes.
It uses java.lang.ClassLoader.getSystemResourceAsStream() to read the file.
Is that wrong, or does that mean i should put my properties file in another
location or something?
Darn.
Magnus
I am assuming you are talking about a java.util.Property file here. If the
class that wants to access the property file is bundled within a jar, you
should try using the Class.getResource(String name) method. Just remember
if you put the properties in the root of the jar you need to specify the
13 matches
Mail list logo