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 get and post in java servlets?

0 Answers  


What is generic servlet class?

0 Answers  


explain the advantages of servlet life cycle?

0 Answers  


How can the session in servlet be destroyed?

0 Answers  


Which is better approach among four(HttpSession,cookie,URL Rewriting, Hidden Fields) Session Tracking technic's ? Why ?

3 Answers   L&T,


What is servlet name in web xml?

0 Answers  


What are all the advantages of servlet over cgi?

0 Answers  


Why do you use session tracking in httpservlet?

0 Answers  


How do we share data using 'getservletcontext ()?

0 Answers  


what are the CGI Programs?

5 Answers  


Explain the war file?

0 Answers  


How to rectify errors in java servlet while compilation?

0 Answers  


Categories