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
Why is servlet used?
How we can call a jsp from the servlet?
What are the advantages of cookies?
What do you mean by singlethreadmodel interface?
How many servlet objects are created?
Can you send an authentication error from a servlet?
How to get the IP address of client in servlet?
Explain the role of dispatcherservlet and contextloaderlistener.
What are the features added in Servlet 2.5?
What is pure servlet?
What do you understand by mime type?
List the Different types of servlet?
why we should override only no-agrs init() method.
What are the common methods that are included in the http servlet class?
How we can create war file in servlet?