Where to keep the Resource files in Jdeveloper ADF Applicatoin

Hi
our ADF application required set of XML file, i created a Folder called Resources and kept them under it.
DataModel
--------------> Application Sources
------------------------------->Packages
------------------------------------------------>java Classes
--------------> Resources
-------------------------------> XML files
i am trying to access the XML file from Java Classes.
for Testing perpose i created sample java class, and access the XML file like "Resources/XMLFile.xml", it was working file.
So i refered the XML file path as "Resource/XMLFile.xml" in my classes and created datacontrol and placed them into jspx file. i ran the jspx file but i am getting file not found Exception.
please suggest me how to deplay to XML file along with my application
Thanks

knidhi
Please state your Jdeveloper version when you post. It can make a difference.
What are the XML files? I assume they are not the XML files that the entity, view object etc are, but external XML files that you use for what? You need to read them for what purpose?
This is a design decision, but perhaps they should instead be moved into the database, and you create an entity object that references that data, then use the entity as you would any normal entity.
Otherwise, have you tried putting the XML files in the same package as the java classes, and does that work?
Stuart

Similar Messages

  • Where SAP keep the attachment files?

    Dear all
    Our user attach some files thru VA23 and then he ask me where SAP keep the file?
    Will it eat our server hard disk??
    I've search on our server using find / -name but didn't found
    My friend said it is on the transaction table
    but how to know which table ?
    Can anybody help?
    Thanks
    Regards,
    Della

    Hello Della,
    Normally it stores the attachments in the SAP database ( if you are not using content server).
    > Will it eat our server hard disk??
    Since it stores in the database, obviously database will grow. depends on the size of attachments used.
    > I've search on our server using find / -name but didn't found
    Since its in the database, you cannot find in the file system using "find command". Im not sure about which table it stores. But let me see..
    Cheers,
    Jazz

  • Where to keep the log file and the mdf/ndf

    Hi ,
    While going through the book of Kalen Delaney "inside sql server"  I got statement  "A general recommendation is to put log files onto their own physical disk. Here I am bit confuse that we have to keep log file in same hard
    disk separate derive or in separate hard disk itself. On My DB server has only one hard disk, with three logical partition, so if I keep my log file MDF on different derives will I get the performance.
    Thanks in advance for reply........
    Regards Vikas Pathak

    @sateesh : but as per link "http://msdn.microsoft.com/en-us/library/bb402876.aspx"
    This rule checks whether data and log files are placed on separate logical drives. Placing both data and log files on the same device can cause contention for that device and result in poor performance. Placing the files on separate drives allows the I/O activity
    to occur at the same time for both the data and log files.
    This is probably as this is the best they can do. Checking that the logical drives are actually two different physical disks is little out of scope from what you can do in SQL Server.
    It is also worth pointing that the rule specifically refers to spinning disks. SSD disks do not have this problem.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Where to keep the jar files

    I have some common classes that I want use across the SWCV/namespaces/Mappings. What is the best place to import.
    1. In Imported archives of  each name space for each swcv
    2.  Create a shared name space in each SWCV and place in this swcv under imported archives.
    3. Create a separate SWCV/name space place it under this and create a dependency in the SLD.
    Please advice.
    Monika

    Hi Raja,
    Imported Object RFC / IDOC would be common to all namespaces of a particular SWCV.
    However each namespace wud have "imported Archives" which independent of the namespace
    hope that cannnot be shared commonly across the namesapces
    correct me ??
    srini

  • Where to keep the html files in the server??

    Hi,
    I am very new to this field. I have installed iplanet webserver enterprise edition 6.0. I managed to turn on the webserver.
    But, now I am not able to access the home page of my webserver. I am getting the following error messages in the error log.
    [16/Nov/2003:19:13:19] config ( 2430): for host 141.12.36.208 trying to GET /first.htm, func_exec reports: cannot find function named NSServletNameTrans
    [16/Nov/2003:19:14:02] config ( 2431): for host 141.12.36.208 trying to GET /murthy/first.htm, func_exec reports: cannot find function named NSServletNameTrans
    I do not know what these mean. But, I understant that there is some proble with the configuration. Can someone kindly help me!!!!
    Thanking you,
    Murthy.

    Hi Murthy,
    There is a line in your obj.conf that you need to remove:
    NameTrans fn="NSServletNameTrans" name="servlet"
    If you remove this line your server will work fine.
    The other thing is that if you are not using java stuff in your web pages go to web admin for the server and uncheckthe two Java enabled for the web site.
    I hope that helps,
    Krishna
    Hi,
    I am very new to this field. I have installed iplanet
    webserver enterprise edition 6.0. I managed to turn
    on the webserver.
    But, now I am not able to access the home page of my
    webserver. I am getting the following error messages
    in the error log.
    [16/Nov/2003:19:13:19] config ( 2430): for host
    141.12.36.208 trying to GET /first.htm, func_exec
    reports: cannot find function named
    NSServletNameTrans
    [16/Nov/2003:19:14:02] config ( 2431): for host
    141.12.36.208 trying to GET /murthy/first.htm,
    func_exec reports: cannot find function named
    NSServletNameTrans
    I do not know what these mean. But, I understant that
    there is some proble with the configuration. Can
    someone kindly help me!!!!
    Thanking you,
    Murthy.

  • My browser dowloads everything automatically in MyDocuments. But, for security reasons, I need to setup a different download path, to a different location, where I keep my personal files. How do I change the download path? Thanks, Dan.

    My Firefox 3.6 is setup to download anything automatically in MyDocuments (which I never use).
    For security reasons, I designated a different location on my hard drive, where I keep my confidential files.
    How do I change this downloading path? I tried to change it by going to "Tools-Options-Save Files To", but it does not work.
    Thanks,
    Dan.

    Do you have any extensions that might interfere?<br />
    See [[Troubleshooting extensions and themes]]
    Does it work if you select Tools > Options > General : Downloads : "Always ask me where to save every file" ?
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    # Shockwave Flash 10.0 r42
    # Java Plug-in 1.6.0_03 for Netscape Navigator (DLL Helper)
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • Where to store the ppk file in server?

    Hi All,
    I am pushing the files to remote server using SFTP with ppk authentication.
    I wrote the program to connect to remote path by keeping the ppk file in class path and working fine.
    for testing this would be fine but as application moves from system to system, ppk file has to be updated.
    so I want to store this ppk file in particular server location and want to download this ppk file at runtime;
    can you please suggest the standard server location where we generally store ppks?
    and how can we load the file from this server location?

    Here is some extra infomation, i did the war file in eclipse. but this is the structure of the war file
    http://www.java-tips.org/other-api-tips/eclipse/how-to-make-war-file-in-eclipse.html
    A WAR file must contain the following directories (in addition to its root directory)
    WEB-INF
    WEB-INF/classes
    WEB-INF/lib
    The root directory contains JSPs (covered in the next chapter), HTML files, JavaScript files, and CSS files.
    WEB-INF contains deployment descriptors such as web.xml.
    WEB-INF/classes contains the compiled code (.class files) and may optionally contain property files. Just as with any Java classes, the directory structure must match the package structure, therefore this directory typically contains several subdirectories corresponding to the classes contained in it.
    WEB-INF/lib contains JAR files containing any library dependencies our code
    might have.
    The root directory, WEB-INF, and WEB-INF/classes directories can have sub directories. Any resources on a subdirectory of the root directory (other than
    WEB-INF) can be accessed by prepending the subdirectory name to its file name. For example, if there was a subdirectory called css containing a CSS file called style.css, this CSS file could be accessed in JSPs and HTML files in the root directory by the following line:
    <link rel="stylesheet" type="text/css" media="screen" href="css/style.css" />
    Notice the css prefix to the file name, corresponding to the directory where the CSS file resides.
    To create our WAR file "from scratch", create the above directory structure in any directory in your system, then follow the following steps:
    1. Copy the web.xml file to WEB-INF.
    2. Create the following directory structure under WEB-INF/classes: net/ensode/glassfishbook/simpleapp.
    3. Copy SimpleServlet.class to the simpleapp directory from step 2.
    4. From the command line, issue the following command from the directory right above WEB-INF: jar cvf simpleapp.war.
    Thanks
    Martin

  • When i add a background image to form and it gives me such kind of issues so i have deleted the resource file in the solution explorer and then when i reopened my projectt it again gives errors of missing root element of InvalidResx.file amd of XMl.

    I have already go to properties then resources and try to remove resource option but it was't working.so help me by giving another technique to solve this issue.

    I have already go to properties then resources and try to remove resource option but it was't working.so help me by giving another technique to solve this issue.
    Hello,
    It will be more specific if you could share the screenshot of that error with us.
    In addition, if this issue is mainly related to the BackGroundimage property, you could consider using the following suggestion.
    We could click our project to expand the nodes and click "InitializeComponent()" to navigate to its desiginer code.
    Then check whether there is a line which has " Me.BackgroundImage =", remove that line and then remove the resource file with the following step.
    Project property->Resources->Switch "Files" or "Images" to see where you have setted for that image file, find it and remove it.
    Then save all your changes to see whether it's OK.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • "Could not locate the Resources file in the Configuration folder"

    While opening DW cs5 on my iMac OS X 10.7.5 a window came up that says:  "Could not locate the Resources file in the Configuration folder. This file is required to run Dreamweaver. Please reinstall the application."
    After downloading and reinstalling Adobe Creative Suite CS5 yesterday per the instruction of Adobe tech support, the application still had the same message when I attempt to open it.  Not sure where else to turn.  Please advise.  Thanks

    See if this previous thread regarding the same issue will help:
    http://forums.adobe.com/message/2274699#2274699
    Nadia
    Adobe Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

  • Where to keep the archived log in a cluster environment.

    Hi
    Where it is good to keep the archive log file. on shared storage or on local instance.
    thanks.

    Where it is good to keep the archive log file. on shared storage or on local instance.
    It is always good to keep the archivelog files at shared storage location. This location is accessible to all instances, so in case of failure you can recover the database from any of the instances.
    Rgds.

  • Where to keep ECEPOI.dat file in oracle ecommerce gateway?

    Hi,
    Where to keep ECEPOI.dat file in oracle ecommerce gateway?
    krishna

    Check profile option ECE: Input File Path, also this directory must be in the UTL_FILE_DIR.

  • ITunes no longers asks "Do you want to keep the original file or move to trash?" - Can this be fixed?

    I'm not sure if this was a recent update in Mavericks, but when I used to delete items from iTunes it would ask something along the lines of:
    Do you want to keep the original file or move to trash?
    Now I no longer get this, instead iTunes asks:
    Are you sure you want to delete the selected song from your iTunes library?
    After which, if you choose the option "Delete Song", you get no option to keep the original file, it just straight up deletes if from my library and hard drive. Does anyone know if there is a way around this? For whatever reason, I want to be able to keep the original file on my Mac, without keeping it in my iTunes library.
    I've tried resetting dialogue warning, and this hasn't made a difference.
    Thanks!

    iTunes prefs > Advanced > Reset all dialog warnings. - https://discussions.apple.com/message/23987276
    Resetting iTunes Store warnings - http://support.apple.com/kb/HT1734

  • I have 3 i phones.  Can I have multiple accounts on one computer where it keeps the contacta and calendar for each?

    I have 3 i phones.  Can I have multiple accounts on one computer where it keeps the contacta and calendar for each?

    My daughter and I both have iphones. I created an account (not separate itunes) for her on my computer so she could sync her phone/itunes but not have it interfere with mine since we have WAY different taste in music. Creating a different computer profile should work if you have separate itunes accounts, too.
    If you all use the same itunes account, you can turn on Home Sharing. That way you can all download the same content without having to pay for it again. Not sure how or if that works with separate itunes accounts.
    Hope that helps!

  • Just installed CC on my PC, Windows 7, 64 bit system. Not seeing any applications on the desktop or installation folder. However, all the resource files are present in the installation folder. What am I doing wrong?

    Just installed CC on my PC, Windows 7, 64 bit system. Not seeing any applications on the desktop or installation folder. However, all the resource files are present in the installation folder. What am I doing wrong?
    I've installed three times with no luck. I downloaded the Creative Cloud Packager off the licensing site: https://licensing.adobe.com. I unpacked and choose my applications. The install seemed to be successful, but I don't so any of the applications anywhere.

    Hi,
    Creating package doesn't mean it will install the product,
    You will need to install the package now. Please follow the instructions mentioned in the below articles
    Creative Cloud Help | Creating or editing packages
    Creative Cloud Help | Deploying packages
    Please let me know if it doesn't help.
    Regards,
    Devendra

  • Acrobat 5.0 How do I keep the original file name after I have converted a Word doc to PDF?

    MY colleague has a certain setting in Acrobat that allows him to keep the original file name when he converts documents from Word to PDF. Every time I convert Word, Acrobat overwrites the filename and names it "untitled.pdf". I would like to retain the original name and for Acrobat to simply add the .pdf file extension to the original name. How do I do this?

    I have no idea what you are doing for sure. Does your WORD document have a name. I opened a WORD document and selected the Acrobat Distiller printer for AA5, I got the file menu for selecting the name and it was automatically filled in with the DOC changed to PDF. If you are using PDF Maker, then you will need to search there - I removed PDF Maker for AA5 years ago and can't view that part. I see the same types of options in PDF Maker for AA8.1.2 as I saw in the printer for AA5 and guess it is the same. The untitled.pdf suggests that you never saved the original DOC file so it has a name.

Maybe you are looking for

  • Mac Mail doesn't display new Yahoo messages

    Mail application on my Mini was somewhat erratic so I did the usual trick of removing "com.apple.mail.plist" and restart application. Now all my accounts are working as they should be except Yahoo. I deleted and added Yahoo account twice, the setting

  • Unable to execute external OS command in Sm49

    Hi All, I am trying to copy a file from another application server to BW application server.Below are the steps that I followed: 1. Created a Batch file and placed it on the BW application server.Below is the contents of the flat file: xcopy MDHCLST0

  • Info about Monitor Entries

    Hi, Can anyone give me the info about the different monitor classes. For example, if I use these values, MONITOR-MSGID = 'RSM' MONITOR-MSGTY = 'I'. MONITOR-MSGNO = '799'. MONITOR-MSGV1 = " Sample Text it displays "Error: Sample Text", while I want wh

  • Question marks at top of folder when opened

    I am trying to help a friend with his computer, he is completely computer helpless so am trying to see if I can solve his problem. He has a canon ip6700d printer. just recently it stopped printing. when the icon of the printer is on the dock, there i

  • Trouble including JavaScript on page

    I am having trouble including inline JavaScript on a JSF page. The code is something like this: <f:subview id="footer">     <b>© 2005</b> <a href="mailto:[email protected]">[email protected]</a><br />     <b>Last Updated by:</b> <a href="mailto:[emai