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 servlets in JavaScript?

Answers were Sorted based on User's Feedback



Can we use servlets in JavaScript?..

Answer / balu

we cant use servlets in javascript but we can call a
servlet by retrieving the form and setting the action as
the url.
ex:if our html has a from named 'XXX'

var formName = document.getElementById('XXX');
var url = contextPath + '/desiredServlet';
formName.action = url;
formName.submit();

Is This Answer Correct ?    7 Yes 1 No

Can we use servlets in JavaScript?..

Answer / subrahmanyam

NO

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More Servlets Interview Questions

Difference between java beans & servlets?

0 Answers  


How to generate the server side programming and the advantages of it over the other languages?

0 Answers  


When servlet object is created?

0 Answers  


Why do we have servlet filters?

0 Answers  


What do you mean by web applications?

0 Answers  


How can we invoke another servlet in a different application?

0 Answers  


How the JSP file will be executed on the Server side?

0 Answers   Cap Gemini,


What is java servlet session?

0 Answers  


What is the difference between 2 types of servlets?

0 Answers  


How printwriter is different from servletoutputstream?

0 Answers  


How can a servlet be used to generate plain text instead of html?

0 Answers  


What is the first statement in jsp page.

7 Answers   L&T,


Categories