Which of these statements is true about the page directive in JSP? Select the one correct answer.

1. The page directive can only be used at the beginning of the JSP file.
2. The syntax for the page directive is <%@ page language="java" contentType="text/html" %>.
3. The page directive allows the use of multiple imports from different packages.
4. The page directive can only define attributes related to scripting elements.
Choose the correct answer from the options given below:

1
1 and 2
2
2 and 3
3
3 and 4
4
1 and 4
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation