wood burning stoves*
The moose likes JSP and the fly likes JSP Init Param Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Init Param" Watch "JSP Init Param" New topic

JSP Init Param

Graeme Byers
Ranch Hand

Joined: Apr 16, 2004
Posts: 127
Why isn't the value of JSP Init Parameter displayed ?
Environment : Apache-Tomcat-6.0.18 + IE8.
Thank you for any help.

Output :
Context Init Parameter = Oracle
JSP Init Parameter =


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60765

initParam is a Map of the context parameters. It does not contain any servlet init params. If you need servlet init params, you need to fetch them in the page controller, not the JSP.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: JSP Init Param
Similar Threads
JSP init parameters.
jsp initialization parameter always gives null
config Implicit Variable - Major Doubt
EL - config paramaters
config with JSP