Can we use javascript in Servlets?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sanjeev
Yes, If we are able to write javascript in jsp then Obviously
we can write javascript in a servlet because internally jsp
will be converted to servlet.
| Is This Answer Correct ? | 14 Yes | 3 No |
What is setattribute in servlet?
What do you mean by httpservlet?
List some life cycle methods of a servlet.
Why servlet is used as controller ? Not JSP? I want complete explation?
Describe in brief RequestDespatcher?
When a servlet accepts a call from a client, it receives two objects. What are they?
How can we achieve transport layer security for our web application?
what is the control flow in servlet when we send a request?
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
How do you find out what client machine is making a request to your servlet
How do you define a servlet?
What is the difference between the http servlet and generic servlet?