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

how this statement works..? public void service(HttpServletRequest request,HttpServletResponse response)

2 Answers   TCS,


Can we override servlet service method?

0 Answers  


How are filters?

0 Answers  


What are the features added in Servlet 2.5?

0 Answers  


What do you mean by cgi?

0 Answers  


Which event is fired at the time of session creation and destroy?

0 Answers  


What are life cycle methods of a servlet?

0 Answers  


What is session variable in servlets?

1 Answers  


request parameter how to find whether a parameter exists in the request object?

0 Answers  


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

2 Answers  


Explain the difference between GET and POST methods?

6 Answers  


What is preinitialization of a servlet?

0 Answers  


Categories