Hi
I am trying to pass the java object from JSP to the javascript inside the same page.
It is not working.
Is there any other way to do this?
see the sample code
<% String s= "Hello" %>
<Script>
alert (<%= s %>
;
</script>
It is giving error in alert statement as
Error: Hello is undefined
Can anyone help me?
Thank you
Raji