Tim Resh wrote:my onclick is not using the java variable but actually sending the info that is in between the single quotes as is.
That is because you are still using Java scriptlets, which have some severe limitations.
You should be using there EL -- Java scriptlets have been discredited for almost 10 years now.
The limitation you are bumping your head on is that when using a scriptlet expression in a tag attribute, it must be the
entire attribute value. You can't embed a scriptlet expression
within the value as you have done. The EL has no such limitations.