aspose file tools*
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
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Init Param" Watch "JSP Init Param" New topic
Author

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 :
---------
JavaRanch.jsp
Context Init Parameter = Oracle
JSP Init Parameter =

JSP


web.xml
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61618
    
  67

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]
 
jQuery in Action, 2nd edition
 
subject: JSP Init Param