thx !!! i am grateful to ur helping!!!
i think i need to explain clearly to u all !!1
now i have 2 files: middle.jsp and body.
js
in the middle.jsp
<%
Collection result = menuManager.getUserRoleMenu(webSessionUser.getGnus erId());
String menuname[]=new String[200];
int menucounter=0;
Iterator vi = result.iterator();
while(vi.hasNext())
{
HashMap hm=(HashMap)vi.next();
menuname[menucounter]=hm.toString();
menucounter++;
}
%>
<html>
<body>
....
the other one is the body.
js ! it is the collection of the methods !!!
i want to pass the string array:menuname to the body.
js ???
so ...what can i do ???
now ....my senior advise me like below:
use the form to pass the value !!
<script language="javascript">
function djfkd()
{
var abc=documen.form0.(hidden name).value;
}
</script>
<form name=form0>
<input type=hidden name=??? value="value in jsp">
</form>
dear vinod yadad1919, can u explain again and clearly for my case ??? and i dun know the second method you mention !!!!
thx
regards,
lau chun hui!!!
u also can add me in ur yahoo messenger , my account:
[email protected]