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?

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


Please Help Members By Posting Answers For Below Questions

What is generic servlet class?

1024


Why do you use session tracking in httpservlet?

1095


What is the difference between the http servlet and generic servlet?

1112


What do you mean by annotations in servlet?

1028


What are some disadvantages of storing session state in cookies?

988


Explain servlet events?

962


How can the referrer and the target urls be used in servlet?

972


What is the procedure of invoking different servlet in a different application?

979


What are the life-cycle methods for a servlet?

959


What is httpservlet and how it is different from genericservlet?

1056


Can we use threads in Servlets?

1103


When a servlet accepts a call from a client, it receives two objects. What are they?

1209


What is the capacity the doget can send to the server?

1039


What is the servletconfig object?

998


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

1054