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 httpservlet is different from the genericservlet?
What are different methods of session management in servlets?
Which method of the httpservletrequest object is used?
What are the kinds of http requests?
Tell us something about servletcontext interface.
Can you send an authentication error from a servlet?
Write a servlet to upload file on server.
What is meant by servlet? What are the parameters of the service method?
How many objects of a servlet is created?
What are the supporting protocol by HttpServlet ?
When servlet object is created?
Can servlet have a constructor ?
How to get the IP address of client in servlet?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
Is servlet thread safe?