my dog learned polymorphism
The moose likes Servlets and the fly likes help!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "help!!" Watch "help!!" New topic


asheet anand
Ranch Hand

Joined: Nov 15, 2000
Posts: 83
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".
I agree. Here's the link:
subject: help!!
It's not a secret anymore!