Hi,

I have got an arraylist with Profile objects where each profile object has a HashSet of Customers and each Customer in Hashset has further a HashSEt of movies.
I have got it in JSP page through servlet like

<%
	ArrayList profiles = (ArrayList)request.getAttribute("profiles"); 
	    
	%>

now i want to access profiles Arraylist in JavaScript that i can retrieve desired object of customers by getting value of Profile ( in drop down).

Thanks in advance.
Romi

JSP is server side while Javascript is client side, you cannot access objects created inside your JSP in Javascript.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.