Can we use javascript in Servlets?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between a web server and a web container?

513


How printwriter is different from servletoutputstream?

577


In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify

584


Explain session tracking and its importance?

544


Where do you define dispatcherservlet?

550






How can you use a servlet to generate a plain text instead of html?

590


What are the kinds of http requests?

606


Is servlet synchronized?

600


What is war file?

578


What are the types of servlets? Explain

672


What are all the advantages of servlet over cgi?

603


What is string tokenizer?

624


What is the difference between the include() and forward() methods?

567


What are the advantages of Servlet over CGI?

662


When servlet object is created?

600