This discussion is archived
1 Reply Latest reply: Apr 2, 2013 1:28 AM by 1000452 RSS

Peoplecode method to get Webserver directory

920441 Newbie
Currently Being Moderated
Is there any peoplecode methods available to get webserver directory?

My requirement is, i have used third party class file (jar) to compare two files. That class file should not execute on application server, it has to execute on client side (ie) on webserver. Some of the Oracle users suggest me that, have to use javascript to execute jar files on client side. Hence i have to place my class file on webserver directory which means webserver holding the directory at the runtime. I need a peoplecode method to get the webserver directory. Please suggest your ideas...!
  • 1. Re: Peoplecode method to get Webserver directory
    1000452 Explorer
    Currently Being Moderated
    Hi sasi,

    If I understand correctly, you are looking for a way to determine a directory (dynamically) at runtime.

    use a URL and the GetURL(URL."URL_ID_VALUE") function to achieve this for you? This way you can configure the path and if you decide to change the requirements (read: directory), then all it would take is adjust the URL.

    Hope this helps.




  • Correct Answers - 10 points
  • Helpful Answers - 5 points