Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to call a method on a java object from jstl  RSS feed

 
madura shantha
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I need to call a java method within the jstl tags. Is there a way to do it?
I saw in a forum that it is not possible. Is it true?
I also need to get the return value back.

thsnks in advance.
Madura.
 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi madura,

Did you look into java Custom tag, having static method in the class,
mapping that into tld file, defining the tag library in web.xml?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!