Hi, It looks like you are mixing HTML and java (JSP) code in example given by you, try revisit what you have written.
What I can think of with the data given by you towards your solution is something like this. You are trying to utilize the functionality return in some tag lib, thus you want to return value to future process.
Try this one out.
Tag libs are noting but java code, hence identifies which java class it calls (you can get this info from tag lib config details). Instance this object pass the required value and try to assign the return value to string just like using other object.
I am not sure if it works, just give a try if you have not got other proven solutions�