Answer Posted / gsrgsrgsr
Yes you can,
In
PrintWriter out=response.getWriter();
out.println("<script langauage='javaScript'>");
out.println("your code here");
out.println("</script>");
| Is This Answer Correct ? | 42 Yes | 5 No |
Post New Answer View All Answers
How can the session in servlet be destroyed?
What is the difference between Difference between doGet() and doPost()?
How can we perform any action at the time of deploying the project?
What is servlet and its advantages?
Define the servlet mapping.
What is getservletcontext?
What is meant by a web application
What is URL Encoding?
What is the default http method in the servlet?
Explain the war file?
What is the need of session tracking in web application?
What do you mean by default initialization in java servlet?
What is the dispatcher servlet?
What are advantages of servlets over cgi?
What is the use of java servlet api?