Meaningless Drivel is fun!
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 REST with Spring (video course) this week in the Spring 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: 63534

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: JSP Init Param
It's not a secret anymore!