<?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 - Usage of ServletContext</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>Sun, 19 May 2013 01:51:27 -0400</pubDate>


    <item>

        <title>Using ServletContext</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31657</link>

        

        
            <description><![CDATA[I know of atleast two ways to use find the properties file:<br><br>1) put your &quot;props.properties&quot; file in your WAR classpath, i.e. /WEB-INF/classes dir.  Then, you can get the &quot;props.properties&quot; using the following...]]></description>
        

        <pubDate>Mon, 07 Feb 2005 13:42:45 -0500</pubDate>

        

        <jf:creationDate>Mon, 07 Feb 2005 13:42:45 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 07 Feb 2005 13:42:45 -0500</jf:modificationDate>
        <jf:date>Feb 7, 2005</jf:date>
        <jf:author>sloppyseconds</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Usage of ServletContext</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31657</link>

        

        
            <description><![CDATA[You can keep the properties file in a jar file and put it in WEB-INF/lib directory.  It should able to find the file from your lib directory.<br><br>or else,<br><br>Keep the file into your WEB-INF/classes directory and refer the path.  It should...]]></description>
        

        <pubDate>Mon, 07 Feb 2005 11:17:26 -0500</pubDate>

        

        <jf:creationDate>Mon, 07 Feb 2005 11:17:26 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 07 Feb 2005 11:17:26 -0500</jf:modificationDate>
        <jf:date>Feb 7, 2005</jf:date>
        <jf:author>Sankara Rao Yadavalli</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>server</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31657</link>

        

        
            <description><![CDATA[Hi,<br><br>How about putting it in JBoss server classpath.That should work.<br><br>Ash]]></description>
        

        <pubDate>Mon, 07 Feb 2005 09:36:57 -0500</pubDate>

        

        <jf:creationDate>Mon, 07 Feb 2005 09:36:57 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 07 Feb 2005 09:36:57 -0500</jf:modificationDate>
        <jf:date>Feb 7, 2005</jf:date>
        <jf:author>Ash H</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Usage of ServletContext</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31657</link>

        

        
            <description><![CDATA[Yeah I know, But what should i do to sort out that thing, Is there any alternative?]]></description>
        

        <pubDate>Mon, 07 Feb 2005 05:00:53 -0500</pubDate>

        

        <jf:creationDate>Mon, 07 Feb 2005 05:00:53 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 07 Feb 2005 05:00:53 -0500</jf:modificationDate>
        <jf:date>Feb 7, 2005</jf:date>
        <jf:author>AHSAN JAMIL QUADRI</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Re: Usage of ServletContext</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31657</link>

        

        
            <description><![CDATA[when you are using this code, server is finding db.properties from JVM_HOME. <br><br><br><blockquote>I have to load Properties file from one of my class which is bundled within a war file placed on JBoss.Properties prop = new Properties();prop.load(new...]]></description>
        

        <pubDate>Mon, 07 Feb 2005 04:48:20 -0500</pubDate>

        

        <jf:creationDate>Mon, 07 Feb 2005 04:48:20 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 07 Feb 2005 04:48:20 -0500</jf:modificationDate>
        <jf:date>Feb 7, 2005</jf:date>
        <jf:author>vishal jhagadiawala</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Usage of ServletContext</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31657</link>

        

        
            <description><![CDATA[I have to load Properties file from one of my class which is bundled within a war file placed on JBoss.<br><br>Properties prop = new Properties();<br>prop.load(new FileInputStream(new File(&quot;db.properties&quot;)));<br><br>When im writting this piece...]]></description>
        

        <pubDate>Mon, 07 Feb 2005 04:02:40 -0500</pubDate>

        

        <jf:creationDate>Mon, 07 Feb 2005 04:02:40 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 07 Feb 2005 04:02:40 -0500</jf:modificationDate>
        <jf:date>Feb 7, 2005</jf:date>
        <jf:author>AHSAN JAMIL QUADRI</jf:author>
        <jf:replyCount>5</jf:replyCount>
    </item>



</channel>
</rss>

