hi
i have a problem in running javascript code between jsp page..
lets below is my jsp body .
<body>
<script language="javascript" >
alert("hi");
</script>
<h1>hello</hello>
<% System.out.println("hello"); %>
</body>
in the above code there is no problem in running javascipt .. it gives hi alert easily but.. for below
<body>
<script language="javascript" >
alert("hi");
</script>
<h1>hello</hello>
<% System.out.println("hello"); %>
[B] <jsp:forward page="page1.jsp" />[/B]
</body>
but if above i include any jsp forward page tag or sendRedirect function then this javascript does'nt run..
please help me
i m stuck with this problem..
thnx in advance