• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Init Param

 
Graeme Byers
Ranch Hand
Posts: 127
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic