This discussion is archived
13 Replies Latest reply: Sep 10, 2012 10:51 PM by Ajay Sharma RSS

File XML Creation Using Jdevloper

Ajay Sharma Newbie
Currently Being Moderated
Hi Gurus.

I m developing a web service using Jdevloper. In this I am creating one xml file.

problem is I want to store this xml file under my web service package. but Its gettingcreated to another location

here is my file creation code

-------------------
File file = new File("./generic-config.xml");

this file is creating under " C:\OAFramework\jdevbin\j2ee\home "

-------------------

What is the reason behind this ? and how to store it inside my web service folder

my web service folder is " C:\OAFramework\jdevhome\jdev\mywork\GenericWebservices\GenericWebservice "



Regards,
Ajay

Edited by: Ajay Sharma on Aug 31, 2012 6:17 PM

Edited by: Ajay Sharma on Aug 31, 2012 6:17 PM

Legend

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