Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

context-param in web.xml not accessible from JSP page

393723May 1 2003 — edited May 7 2003
I am using jDeveloper with the embedded OC4J server to develop JSP pages. Using the built in web.xml editor I add a 'Context Initialization paratmeter'. When I view the actual web.xml file is looks fine and it builds without errors according to jDev. However, I cannot access the parameter in the web.xml file from a JSP page calling 'getServletConfig().getInitParameter("paramTag")'. I have even called the getInitParameters() to see what context params are available and only <param-name> available is 'page_repository_root'. Any ideas why this is happening?
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2003
Added on May 1 2003
2 comments
386 views