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
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
How can I send user authentication information while making URL Connection?
Why do we need a constructor in a servlet if we use the init method?
How can you create a session in servlet?
Which is the methods of generated servlet?
What's the use of servletcontext?
How servlet is created?
Does servlet have main method?
What is the use of servlet wrapper classes?
What do you mean by singlethreadmodel interface?
How we can get ip address of client in servlet?
What are Servlets?
What if you need to span your transaction across multiple servlet invocations?
What are the jobs performed by servlets?
What are the phases of a servlet life cycle?