j2ee spec and accessing resource (properties) files

Discussion in 'Java' started by D. Alvarado, May 20, 2004.

  1. D. Alvarado

    D. Alvarado Guest

    Hello,
    Is it a violation of the J2EE standard to access a resource file
    from within a .war in which the resource file lies outside the .war?
    If this is not a violation, how could this be done (e.g. could
    ClassLoader.getResourceAsStream be of help?).

    Some in my group would rather have a single .war file with an
    adjustable .properties file outside rather than recompile the .war
    with a different properties file.

    Thanks for any advice, - Dave
    D. Alvarado, May 20, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dirc Khan-Evans
    Replies:
    1
    Views:
    886
    Karl Seguin
    Oct 17, 2005
  2. Knut
    Replies:
    0
    Views:
    362
  3. T.G.
    Replies:
    1
    Views:
    495
    Raymond DeCampo
    Jan 4, 2006
  4. MD
    Replies:
    1
    Views:
    439
    =?ISO-8859-1?Q?Arne_Vajh=F8j?=
    Aug 28, 2006
  5. Andrew Chen
    Replies:
    1
    Views:
    181
    David Chelimsky
    Mar 25, 2008
Loading...

Share This Page