Hi,
I have the following prece of
JSP code where I am trying to access a hashMap varaible present in session scope and try to create as many as hidden variables possible.
Problem : When the ${entry.key} has double quotes as part of its value then it is rendered differently.
Ex:
if the key is abc"def and value is 33 then a hidden variable should be created with the key abc"def and value as 33 but created as key abc and value as 33.
Although this could be resolved by changing the 2nd line of code to
<input type='hidden' name='${entry.key}' value='${entry.value}' />
Is there a better solution to this?
Thanks