Here is the code
in the jsp file
<%String xyz[ ]={"one","two","three"};%>
<SCRIPT LANGUAGE= "JAVASCRIPT">
function one()
{
two(<%=xyz%>)
}
function two(object)
{
.......
......
}
</SCRIPT>
I get a javascript error as follows
missing ] after argument list.
two([Ljava.lang.String;@1bc27e74)
Can anyone help me with this
Thanks
Srinivas
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html