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 generic servlet class?
Why do you use session tracking in httpservlet?
What is the difference between the http servlet and generic servlet?
What do you mean by annotations in servlet?
What are some disadvantages of storing session state in cookies?
Explain servlet events?
How can the referrer and the target urls be used in servlet?
What is the procedure of invoking different servlet in a different application?
What are the life-cycle methods for a servlet?
What is httpservlet and how it is different from genericservlet?
Can we use threads in Servlets?
When a servlet accepts a call from a client, it receives two objects. What are they?
What is the capacity the doget can send to the server?
What is the servletconfig object?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?