I have a Vector that I walk all the way to my JSP. I iterate through the Vector to put each value into a big JS array. I use a for loop scriplet to iterate. However, when I view source of the JSP all of the values show in the JS array. Is there a way to hide all of this? The Vector is pretty static, same each time until it's updated every few years. I need user input to find the element in the array. But I don't want to submit the request I want to do it all on the JSP using scriplet and JS. We have really old environments. I can't get the JS input into the Scriplet, only the Scriplet variables into the JS. Any other way to hide the contents of that array?
Aucun commentaire:
Enregistrer un commentaire