Assume that the request for this page contains a parameter mystring=hello.
Select 1 correct option. A.It will print "" B.It will print "hello" C.It will not compile D.It will throw exception at runtime
ANS : A
--------------------------- 20. Select the correct sequence of actions that a servlet container performs before servicing any request.
A.Instantiate listeners defined in the deployment descriptor B.Initialize filters defined in the deployment descriptor C.Initialize servlets that are set to load on startup D.Call the contextInitialized method on the listeners implementing ServletContextListener interface
I am not sure but the class defines the bean type (which has setters and getters). java.lang.String is not a class that contains these types of methods so I think you are unable to use it for the class. If I am wrong, someone please tell me. [ January 30, 2007: Message edited by: Kevin DesLauriers ]
Joined: Nov 28, 2005
The second question is correct. It does listeners, context, filters then servlets.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com