File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to assign message key value to a variable JSTL

 
Mukhi Vla
Ranch Hand
Posts: 53
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried the following statement.

But it is throwing the following exception

What i want to do is....
I want to compare this id value against a map object key like this.

Can any one help me out

Thanks.....
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't embed a custom tag in the attribute value of another custom tag.

Look up <c:set> and you will see that there's an alternative format that you can use.
 
Mukhi Vla
Ranch Hand
Posts: 53
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I tried this

it worked.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Kiran Gaddam
Ranch Hand
Posts: 35
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This helped me too..
Thanks Mukhi for posting the solution too...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic