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

Which interface must be implemented by all servlets?

1035


How to upload a file to the server using servlet?

743


What is getservletcontext?

735


Why is servlet used?

905


What is Client-Server Computing?

2098


What do you mean by a filter and how does it work?

719


What is http servlet in java?

772


What exactly is a servlet?

718


What are the kinds of http requests?

800


What are the different methods involved in generic servlet?

814


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

829


What is http servlet?

795


Which httpsession object is used to view and manipulate information about a session?

949


What is the structure of the http response

928


Is servlet synchronized?

814