How Web Service get container context???

Discussion in 'Java' started by TDOR, Dec 21, 2004.

  1. TDOR

    TDOR Guest

    I have a webservice that need to read files relative to the root of
    the webapp that it is deployed in. Looking into apache axis and oracle
    web services frameworks I just cant find any method to get the
    container/ or servlet context to read its path. How can it be done?
     
    TDOR, Dec 21, 2004
    #1
    1. Advertisements

  2. TDOR

    Sudsy Guest

    TDOR wrote:
    > I have a webservice that need to read files relative to the root of
    > the webapp that it is deployed in. Looking into apache axis and oracle
    > web services frameworks I just cant find any method to get the
    > container/ or servlet context to read its path. How can it be done?


    ServletContext#getRealPath( String path )
     
    Sudsy, Dec 21, 2004
    #2
    1. Advertisements

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. VS_NET_DEV
    Replies:
    2
    Views:
    4,006
    jenny
    May 25, 2004
  2. =?Utf-8?B?U3VuU21pbGU=?=
    Replies:
    0
    Views:
    822
    =?Utf-8?B?U3VuU21pbGU=?=
    Jan 10, 2006
  3. TDOR
    Replies:
    0
    Views:
    434
  4. oziris
    Replies:
    1
    Views:
    4,468
    oziris
    Feb 22, 2006
  5. Flip Rayner
    Replies:
    1
    Views:
    962
    bruce barker
    Jan 23, 2007
  6. asd
    Replies:
    1
    Views:
    601
    www.pulpjava.com
    Nov 9, 2006
  7. Joe Rattz
    Replies:
    2
    Views:
    840
    Robert Koritnik
    Sep 10, 2004
  8. Leo Violette
    Replies:
    0
    Views:
    1,282
    Leo Violette
    Apr 17, 2009
Loading...