PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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