JavaScript - JSP communication
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Victoria_Levin
Posted On:   Wednesday, March 28, 2001 03:45 PM

How can I pass an array created in JavaScript function to a JSP page?

Re: JavaScript - JSP communication

Posted By:   Dmitry_Ivlev  
Posted On:   Wednesday, March 28, 2001 09:11 PM

Try next. Join array into string using JavaScript and set some hidden input. On JSP page split value of that parameter into values. Like:

HTML









JSP


<%
String aaa = request.getParameter(aaa);
String arr[] = split(aaa, "
");
%>


Where split function must be written.
About | Sitemap | Contact