Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts

What method is used to specify a container's layout in JSP?

What method is used to specify a container's layout in JSP?


(a) setLayout()

(b) Layout()

(c) setContainerLayout()

(d) ContainerLayout()

(e) setConLayout().

Answer: A.  In JSP setLayout() method is used to specify a container's layout. The remaining all the options are incorrect.

Which of the following statements is false about event handlers in JavaScript?

Which of the following statements is false about event handlers in JavaScript?


(a) They can be included with input tags
(b) They can be associated with end of file processing for a database application
(c) They can be included with the form tag
(d) They are generally used to call functions when triggered
(e) They can be used to trigger server-side scripts.

Answer: B. Event handlers in JavaScript can’t be associated with end of file processing for a database application.