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 difference between get and post method?
What is the GenericServlet class?
What is the major difference between servlet and applet?
What do you understand by mime type?
What are the life-cycle methods for a servlet?
What is the disadvantage of cookies?
Describe the phases of servlet lifecycle?
What is the web server used for running the Servlets?
What is the procedure of invoking different servlet in a different application?
What is the use of attribute in servlets?
What is servlet and its life cycle?
Explain the lifecycle of a servlet?
Why the container loads server at the application startup and how?
What is the structure of the http response
What is the functionality of actionservlet and requestprocessor?