<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - How to Read files in relative folder deployed in EAR (HELP!)</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Tue, 18 Jun 2013 22:16:14 -0400</pubDate>


    <item>

        <title>Re: How to Read files in relative folder deployed in EAR (HELP!)</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31925</link>

        

        
            <description><![CDATA[hi VJ...]]></description>
        

        <pubDate>Tue, 26 Jun 2007 10:10:48 -0400</pubDate>

        

        <jf:creationDate>Tue, 26 Jun 2007 10:10:48 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 26 Jun 2007 10:10:48 -0400</jf:modificationDate>
        <jf:date>Jun 26, 2007</jf:date>
        <jf:author>krishna k</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Thanks !</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31925</link>

        

        
            <description><![CDATA[Randall,<br><br>Thanks, your tip has helped !<br><br>Kris, maybe your suggestion is quite good.The XML's contain SQL Queries for external injection to the DAO. I  wanted to avoid coupling of Java code with SQL queries. But your point is interesting as,...]]></description>
        

        <pubDate>Sat, 19 Feb 2005 01:09:36 -0500</pubDate>

        

        <jf:creationDate>Sat, 19 Feb 2005 01:09:36 -0500</jf:creationDate>
        <jf:modificationDate>Sat, 19 Feb 2005 01:09:36 -0500</jf:modificationDate>
        <jf:date>Feb 19, 2005</jf:date>
        <jf:author>VIJAY KHANNA</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>How to Read files in relative folder deployed in EAR (HELP!)</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31925</link>

        

        
            <description><![CDATA[Thanks for your help Guys !<br><br>I am gonna try this out today and let you know if alls OK.<br><br>Peace<br>VJ]]></description>
        

        <pubDate>Fri, 18 Feb 2005 23:50:18 -0500</pubDate>

        

        <jf:creationDate>Fri, 18 Feb 2005 23:50:18 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 18 Feb 2005 23:50:18 -0500</jf:modificationDate>
        <jf:date>Feb 18, 2005</jf:date>
        <jf:author>VIJAY KHANNA</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>How to Read files in relative folder deployed in EAR (HELP!)</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31925</link>

        

        
            <description><![CDATA[This will return the path to the file(s?) you're looking for.  Note: &quot;ejbs&quot; is the first level directory in my ejb.jar file.<br><br>URL myURL = this.getClass().getClassLoader().getResource(&quot;ejbs/config/test.xml&quot;);<br>if (myURL !=...]]></description>
        

        <pubDate>Fri, 18 Feb 2005 15:04:42 -0500</pubDate>

        

        <jf:creationDate>Fri, 18 Feb 2005 15:04:42 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 18 Feb 2005 15:04:42 -0500</jf:modificationDate>
        <jf:date>Feb 18, 2005</jf:date>
        <jf:author>Randall Maier</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>How to Read files in relative folder deployed in EAR (HELP!)</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31925</link>

        

        
            <description><![CDATA[I'm no expert on this and am not pretending to know the answer.<br><br>Look into Class.getResourceAsStream(...)<br><br>This is used, for example, to load configuration files that are in the classpath.  I've only ever used this with config files outside...]]></description>
        

        <pubDate>Fri, 18 Feb 2005 11:09:54 -0500</pubDate>

        

        <jf:creationDate>Fri, 18 Feb 2005 11:09:54 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 18 Feb 2005 11:09:54 -0500</jf:modificationDate>
        <jf:date>Feb 18, 2005</jf:date>
        <jf:author>Kris Huggins</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>How to Read files in relative folder deployed in EAR (HELP!)</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31925</link>

        

        
            <description><![CDATA[Hello,<br><br>my deployment environment is Sun Java system, JBoss, Websphere, Weblogic as the application is inhouse tested on all possible App servers.<br><br>In certain (POJO)class, in the EAR, I want to create a 'FILE' object by passing relative path...]]></description>
        

        <pubDate>Thu, 17 Feb 2005 22:52:48 -0500</pubDate>

        

        <jf:creationDate>Thu, 17 Feb 2005 22:52:48 -0500</jf:creationDate>
        <jf:modificationDate>Thu, 17 Feb 2005 22:52:48 -0500</jf:modificationDate>
        <jf:date>Feb 17, 2005</jf:date>
        <jf:author>VIJAY KHANNA</jf:author>
        <jf:replyCount>5</jf:replyCount>
    </item>



</channel>
</rss>

