![]() Related Questions At what stage, the life cycle of a CMP bean can be assumed to be started ?(a) before ejbCreate() method is executed (b) after ejbCreate() method is executed (c) in postCreate() method (d) after executing ejbStore() In JSP, how can you know what HTTP method (GET or POST) is used by client request ?(a) by using request.getMethod() (b) by using request.setMethod() (c) impossible to know (a) Which method is called first each time a Servlet is invoked ?(a) Start() (b) Run() (c) Servive() (d) init() (d) Purpose of tag(a) used to incorporate Java applets into a Web page. (b) Downloads a plugin to the client Web browser to execute an applet or Bean. (c) Both (a) & (b) (c)EXPLANATION:JSP Syntax : [ [ ]+ ] [ text message for user ] Description : The tag is replaced by either an or tag, whichever is most appropriate for the client Web browser (the tag Which of the following is true ?(a) Unlimited data transfer can be done using POST method (b) Data is visible in Browser URL when using POST method (c) When large amounts of data transfer is to be done, GET method is used. (a) What is Temporary Servlet ? (a) Servlet that is destroyed at run time (b) Servlet that exists for a session (c) Servlet that is started and stopped for each request (c) EXPLANATION: A temporary servlet is started when a request arrives and shut down after the response is generated. A permanent servlet is loaded when the server is started and lives until the View Question | Asked by : Ravi Kumar Reddy
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||