RE: resources location

2002-01-23 Thread Jeff Oberlander

It needs to be somewhere in the classpath.  Each app server uses their own
implementation of the classloader, so it will be dependent on the classpath
of your app based on the server.  web-inf/classes is in the classpath, but
the directory above that typically isn't.

-Original Message-
From: Witt, Mike (OH35) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 23, 2002 5:00 PM
To: Struts Users Mailing List
Subject: RE: resources location


I'm not sure what you might be doing wrong, but why not put it in your 
build script (like ant's build.xml) to copy the file from the source 
location to within the hierachy?

Mike

-Original Message-
From: Bill Page [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 23, 2002 7:57 PM
To: [EMAIL PROTECTED]
Subject: resources location


I've gotten struts installed, integrated, and working in the application
we're building for a few days now.  However I want to move the resources
property file somewhere else.  It is currently sitting in "com.mycomp.pkg:
and the application parameter in web.xml specifies that.  I can move it up
this hierarchy and put it under classes, take off the structure from the
parameter in web.xml and everything is fine.

What I need to is to move it out of this hierachy altogether.  I want to get
it to a place where someone can update it who I don't want to allow access
to anything under WEB-INF.  I've tried to use "/" as the root under my
application noting that the config parameter uses that.  I've tried a
relative from path the classes directory.  Nothing seems to work except
anywhere under WEB-INF/classes.

Is this possible?

What might I be doing wrong?

tia

bill page
[EMAIL PROTECTED]
Digital Garden Software, Inc.
856 US Hwy 206 Bldg B Ste 15
Hillsborough, NJ 08844
908.904.0664



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: resources location

2002-01-23 Thread Witt, Mike (OH35)

I'm not sure what you might be doing wrong, but why not put it in your 
build script (like ant's build.xml) to copy the file from the source 
location to within the hierachy?

Mike

-Original Message-
From: Bill Page [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 23, 2002 7:57 PM
To: [EMAIL PROTECTED]
Subject: resources location


I've gotten struts installed, integrated, and working in the application
we're building for a few days now.  However I want to move the resources
property file somewhere else.  It is currently sitting in "com.mycomp.pkg:
and the application parameter in web.xml specifies that.  I can move it up
this hierarchy and put it under classes, take off the structure from the
parameter in web.xml and everything is fine.

What I need to is to move it out of this hierachy altogether.  I want to get
it to a place where someone can update it who I don't want to allow access
to anything under WEB-INF.  I've tried to use "/" as the root under my
application noting that the config parameter uses that.  I've tried a
relative from path the classes directory.  Nothing seems to work except
anywhere under WEB-INF/classes.

Is this possible?

What might I be doing wrong?

tia

bill page
[EMAIL PROTECTED]
Digital Garden Software, Inc.
856 US Hwy 206 Bldg B Ste 15
Hillsborough, NJ 08844
908.904.0664



--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: