logo

CuriousTab

CuriousTab

Discussion


Home Database JDBC, Java Server Pages, and MySQL Comments

  • Question
  • How does Tomcat execute a JSP?


  • Options
  • A. As a CGI script
  • B. As an independent process
  • C. By one of Tomcat's threads
  • D. None of the above is correct.

  • Correct Answer
  • By one of Tomcat's threads 


  • JDBC, Java Server Pages, and MySQL problems


    Search Results


    • 1. ________ is an open source DBMS product that runs on UNIX, Linux and Windows.

    • Options
    • A. MySQL
    • B. JSP/SQL
    • C. JDBC/SQL
    • D. Sun ACCESS
    • Discuss
    • 2. To run a compiled Java program, the machine must have what loaded and running?

    • Options
    • A. Java virtual machine
    • B. Java compiler
    • C. Java bytecode
    • D. A Web browser
    • Discuss
    • 3. What servlet processor was developed by Apache Foundation and Sun?

    • Options
    • A. Apache Tomcat
    • B. Apache Web server
    • C. Sun servlet processor
    • D. None of the above is correct.
    • Discuss
    • 4. Where is metadata stored in MySQL?

    • Options
    • A. In the MySQL database metadata
    • B. In the MySQL database metasql
    • C. In the MySQL database mysql
    • D. None of the above is correct.
    • Discuss
    • 5. Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge?

    • Options
    • A. Type 1
    • B. Type 2
    • C. Type 3
    • D. Type 4
    • Discuss
    • 6. Who invented Java?

    • Options
    • A. Netscape
    • B. Microsoft
    • C. Sun
    • D. None of the above is correct.
    • Discuss
    • 7. Which JDBC driver Type(s) can be used in either applet or servlet code?

    • Options
    • A. Both Type 1 and Type 2
    • B. Both Type 1 and Type 3
    • C. Both Type 3 and Type 4
    • D. Type 4 only
    • Discuss
    • 8. JDBC stands for:

    • Options
    • A. Java Database Connectivity
    • B. Java Database Components
    • C. Java Database Control
    • D. None of the above is correct.
    • Discuss
    • 9. What is sent to the user via HTTP, invoked using the HTTP protocol on the user's computer, and run on the user's computer as an application?

    • Options
    • A. A Java application
    • B. A Java applet
    • C. A Java servlet
    • D. None of the above is correct.
    • Discuss
    • 10. How many copies of a JSP page can be in memory at a time?

    • Options
    • A. One
    • B. Two
    • C. Three
    • D. Unlimited
    • Discuss


    Comments

    There are no comments.

Enter a new Comment