hi everyone, i simply want to use an javascript array ina jsp code. my requirement is i want to use the values of an arrar of javascript in jsp. i tried <%t1.add(%><script language="javascript">document.write(a1)</script><%)%> where a1 is the java script array and t1 is the java object which uses a to call a method "add". thanks asheet