You're going to have to iterate through the string array and "print" the javascript.
ie. <script language="javascript"> //<!-- var javascriptArray = new Array(); <logic:iterate id="arrayItem" name="array"> javascriptArray.push('<bean:write name="arrayItem" />'); </logic:iterate> //--> </script> That should give you a hint, though it may not be perfect (never pretended to be!) yanming lu wrote: > How do we conver a String[] in jsp form to a Array in javascript? > > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>