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 to make the IP address to .com

1 Answers   iGate,


Why should we go for interservlet communication?

2 Answers  


What is servlet collaboration?

0 Answers  


How to work with Chinese login page (internationalization).if he enters user name and password in chinese, how is it converted to English and validate in db? And in reverse it should display welcome message in Chinese,if user is valid

4 Answers   Bosch,


can i override service method

3 Answers   Intelligroup,


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

0 Answers  


Which interface must be implemented by all servlets?

0 Answers  


How can we upload the file to the server using servlet?

0 Answers  


How servlets can be automatically reloaded?

3 Answers  


How do you communicate in between Applets and Servlets?

0 Answers  


How can I share objects across different sessions?

2 Answers   Accenture,


What are the functions of Servlet container?

0 Answers  


Categories