• Post Reply Bookmark Topic Watch Topic
  • New Topic

passing variable into EL expression

 
Aaron Jeffries
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,

I have an element that I need to re-use frequently, so I created my own jsp tag. If my Jsp snippet is:

How can I pass the value "bar" into the custom tag so that the resulting EL expression below would be:

This is my first attempt at a custom tag so I know this is a newbie question. My apologies in advance.

Thanks.
Aaron
 
Aaron Jeffries
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Figured out the solution - thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!