cdac end module advanced java multiple choice question

CDAC Advanced Java Practice Questions

11. getPathInfo() method of HttpServletRequest Interface

Show Answer ?

12. What are valid methods for HttpSessionListener
interface?

Show Answer ?

13. Which of the following JSP variables are not available within a JSP expression.

Show Answer ?

14. Which of the following statements are correct about the status of the Http response.

Show Answer ?

15. A session is created in a servlet and that servlet has
a form, which has a button. On clicking the button a
new window pops up, what happens next?

Show Answer ?

16. The ServletContext interface provides direct access
to the hierarchy of static content documents that are
part of the web application, including HTML, GIF and
JPEG files through following methods

Show Answer ?

17. Which of the following are true with respect to sendRedirect method of HttpServletResponse?

Show Answer ?

18. Which of the following actions can you achieve by invoking an appropriate method on the EntityContext from inside the ejbPassivate() method of an entity bean class

Show Answer ?

19. _______ exception indicates to the web container
that the servlet is either temporarily or permanently
unavailable

Show Answer ?

20. Which of the following statements are true about a Stateless session bean

Show Answer ?