J_Logan
05-03-2007, 10:02 AM
Hello There!, Good morning to everybody reading this Post.
May I ask a question?
I need to know how can I store a java Collection in a JavaScript variable, more specifically a JavaScript Array Object type.
For example...
I have a Java Object that belongs to the class java.util.Collection, I put this Collection in Session. so that I can at any time access it via
request.getSession().getAttribute("Collection");
How can I Store that Collection inside a JavaScript Array so that I can iterate it later?
Could anybody help me?
I would like to have some code examples if possible, I have run out of clues with my basic knowledge of Java and JSP
Thanks in advance.
May I ask a question?
I need to know how can I store a java Collection in a JavaScript variable, more specifically a JavaScript Array Object type.
For example...
I have a Java Object that belongs to the class java.util.Collection, I put this Collection in Session. so that I can at any time access it via
request.getSession().getAttribute("Collection");
How can I Store that Collection inside a JavaScript Array so that I can iterate it later?
Could anybody help me?
I would like to have some code examples if possible, I have run out of clues with my basic knowledge of Java and JSP
Thanks in advance.