<?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 access contextRoot in Servlet deployed in ear Weblogic 81</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>Wed, 22 May 2013 23:00:21 -0400</pubDate>


    <item>

        <title>Re: How to access contextRoot in Servlet...</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31265</link>

        

        
            <description><![CDATA[Hi James,<br><br>Thanks for taking the time to respond. The web/enterprise application is deployed on an application server and it never receives HTTP requests. It's purpose is to read from and write to JMS queues. <br><br>We are employing JMX MBeans and...]]></description>
        

        <pubDate>Mon, 24 Jan 2005 05:32:00 -0500</pubDate>

        

        <jf:creationDate>Mon, 24 Jan 2005 05:32:00 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 24 Jan 2005 05:32:00 -0500</jf:modificationDate>
        <jf:date>Jan 24, 2005</jf:date>
        <jf:author>Shane Mceneaney</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: How to access contextRoot in Servlet...</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31265</link>

        

        
            <description><![CDATA[What you're looking for a way to get the value returned from HttpServletRequest.getContextPath() via the ServletContext interface, right?  You are right; that SHOULD be easy, but I don't see anywhere in the API that it's possible.  Are you sure you need...]]></description>
        

        <pubDate>Sun, 23 Jan 2005 11:39:15 -0500</pubDate>

        

        <jf:creationDate>Sun, 23 Jan 2005 11:39:15 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 23 Jan 2005 11:39:15 -0500</jf:modificationDate>
        <jf:date>Jan 23, 2005</jf:date>
        <jf:author>James Carman</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>How to access contextRoot in Servlet deployed in ear Weblogic 81</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31265</link>

        

        
            <description><![CDATA[Oops. Forgot to include the jndi lookup..<br><br>Here it is;<br><br>String name = (String) jndiContext.lookup(&quot;java:/comp/env/namespace&quot;);<br>&nbsp;log.info(&quot;jndiContextlookup namespace = &quot;+name);<br><br>Thanks in advance.<br><br>Shane]]></description>
        

        <pubDate>Thu, 20 Jan 2005 08:34:09 -0500</pubDate>

        

        <jf:creationDate>Thu, 20 Jan 2005 08:34:09 -0500</jf:creationDate>
        <jf:modificationDate>Thu, 20 Jan 2005 08:34:09 -0500</jf:modificationDate>
        <jf:date>Jan 20, 2005</jf:date>
        <jf:author>Shane Mceneaney</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>How to access contextRoot in Servlet deployed in ear Weblogic 81</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=31265</link>

        

        
            <description><![CDATA[Hi,<br><br>I need to access the contextRoot or webapp name from a startup servlet deployed in WebLogic. I've tried the following;<br><br>getServletContext().getRealPath(&quot;/&quot;) return null.<br><br>getServletContext().getServerInfo() returns...]]></description>
        

        <pubDate>Thu, 20 Jan 2005 08:32:24 -0500</pubDate>

        

        <jf:creationDate>Thu, 20 Jan 2005 08:32:24 -0500</jf:creationDate>
        <jf:modificationDate>Thu, 20 Jan 2005 08:32:24 -0500</jf:modificationDate>
        <jf:date>Jan 20, 2005</jf:date>
        <jf:author>Shane Mceneaney</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>



</channel>
</rss>

