Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do we get Servlet Init Parameter thru EL?

 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EL implicit object initParam is for context init parameters. So what about getting servlet init parameters thru el? Is it possible at all?
 
Claudio Lande
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Alec Lee:
EL implicit object initParam is for context init parameters. So what about getting servlet init parameters thru el? Is it possible at all?


...which servlet? Do yo mean the servet created from the JSP? I don't think you can define (servlet) init parameters for servlets automatically generated by the container starting from JSP.
 
Claudio Lande
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks as though I was wrong...

http://www.coderanch.com/t/170336/java-Web-Component-SCWCD/certification/implicit-objects-EL
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic