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. Advertising

  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. 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. VS_NET_DEV
    Replies:
    2
    Views:
    3,804
    jenny
    May 25, 2004
  2. =?Utf-8?B?U3VuU21pbGU=?=
    Replies:
    0
    Views:
    708
    =?Utf-8?B?U3VuU21pbGU=?=
    Jan 10, 2006
  3. TDOR
    Replies:
    0
    Views:
    381
  4. oziris
    Replies:
    1
    Views:
    4,190
    oziris
    Feb 22, 2006
  5. Joe Rattz
    Replies:
    2
    Views:
    602
    Robert Koritnik
    Sep 10, 2004
Loading...

Share This Page