What is the advantage of using a Java servlet in this situation?

You want to write a script that will perform a series of operations, then use the results to take
specific actions. Your co-worker recommends that you use a Java servlet instead of a CGI script.
What is the advantage of using a Java servlet in this situation?

You want to write a script that will perform a series of operations, then use the results to take
specific actions. Your co-worker recommends that you use a Java servlet instead of a CGI script.
What is the advantage of using a Java servlet in this situation?

A.
A Javaservlet allows servlet chaining, which allows the output from one servlet to go to another.

B.
Javaservlets are not compiled, so they run faster.

C.
CGI scripts are proprietary, and may not execute correctly in certain Web browsers.

D.
CGI scripts are used mainly for database access; they do not perform other actions as
effectively.



Leave a Reply 0

Your email address will not be published. Required fields are marked *