Article View: borland.public.jbuilder.xml
Article #33Reading web.xml context-param in JBoss
From: SAM
Date: Fri, 10 Jun 2005 14:04
Date: Fri, 10 Jun 2005 14:04
16 lines
1508 bytes
1508 bytes
If anyone can help me I would greatly appreciate it. I also appologize if this is posted in the wrong news group. I have a java servlet that used to run on JRun 3 or 4 and I am trying to migrate it to JBoss 4. I cannot seem to figure out how to read the context-param values from the web.xml file that I have in my application's WEB-INF directory. I know that the web.xml file is being used by JBoss because the Servlet definitions and mappings are working. In JRun, the System.getProperty() function worked to read the context-param values, but this is not working in JBoss. Someone please help. Thank you, Sean
Technical Details
Message-ID:
<42a99d78$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: fcb34,6a6db66854bcfc87,start X-Google-Attributes: gidfcb34,public X-Google-Language: ENGLISH,ASCII-7-bit From: "SAM" <chunuk@capital.net> Newsgroups: borland.public.jbuilder.xml Subject: Reading web.xml context-param in JBoss Date: Fri, 10 Jun 2005 10:04:16 -0400 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 64.128.171.75 Message-ID: <42a99d78$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118412152 64.128.171.75 (10 Jun 2005 07:02:32 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail