Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can we use javascript in Servlets?

Answers were Sorted based on User's Feedback



Can we use javascript in Servlets?..

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

Can we use javascript in Servlets?..

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

Post New Answer

More Servlets Interview Questions

What is java servlet?

0 Answers  


Explain jsessionid and when is it created?

0 Answers  


What are the different methods involved in generic servlet?

0 Answers  


How to pass a requrest object of one servlet as a request object to another servlet?

4 Answers   Verizon,


How can you run a servlet program?

0 Answers  


what are the way a client can be tracked?

3 Answers   ABC, IBM,


What happens, when client requests for server object, which is not yet loaded into the memory?

2 Answers  


Why do we need a constructor in a servlet if we use the init method?

0 Answers  


Write a command to get actual path of a servlet to the server?

0 Answers  


What is servlet and how it works?

0 Answers  


What's the difference between authentication and authorization?

0 Answers  


Can you call a jsp from the servlet?

0 Answers  


Categories