This is my situation:
I want to call jAlert(String) Javascript method from a servlet linked to a JSP file.
I tried with the following
response.getWriter().println("<script type='text/javascript'>jAlert('Hello');</script>");
but there are no results.
After, I found a tool called Rhino, from Mozilla, but I don't know how to use. Help!
Thanks.
response.getWriter().println("<script type='text/javascript' src='/path/to/js''></script>");