Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSTL - access methods  RSS feed

 
Vasudhaiv Naresh
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i would like to know whether JSTL can be used to access methods (not the getters) on implicit objects, and if so - how?
For instance, i would like to access the "getInitParameter(param)" on the implicit object "pageContext.servletConfig" .
Kindly send me suggestions.
Regards,
Naresh
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66184
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, you cannot call any instance method that does not follow the JavaBean accessor (getter) pattern.

The EL is not intended to be a general-purpose programming language, and that is by design to help people migrate away from performing processing on the pages and move it back into the controller where it belongs.
[ October 06, 2005: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!