I have a list of objects. I am getting that list in jsp using request object.I want to fetch object from java list object then get a value from that object and assign it to a javascript variable. Is it possible? I have tried following code but Its not working. Also If it is possible how much time it will take if list size is 1500?
scriptlet in jsp is discourage . set the value into anyscope on servlet . and use EL to read that . Here i use String "Hai"
for example .
Hope this helps
Albareto McKenzie
Ranch Hand
Joined: Apr 08, 2009
Posts: 268
posted
0
What you are trying to do is possible but not recommended. As seetharaman has told you, try to use EL
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12267
1
posted
0
When debugging servlet/jsp/javascript applications it is helpful to use a browser such as FireFox with plugins which let you see EXACTLY what the browser request is actually getting and the JavaScript structures being created.