-
What are the advantages using servlets than using CGI?
Servlets provide a way to generate dynamic documents that is both easier to write and faster to run. It is efficient, convenient, powerful, portable, secure and inexpensive. Servlets also address the problem of doing server-side programming with platform-specific APIs. they are developed with Java Servlet API, a standard Java extension.
-
-
-
C: namesList = context.listContents(someContextName);
Binding binding = namesList.next();
MyObject obj = binding.getObject();
D: namesList = context.list(someContextName);
Binding binding = namesList.next();
MyObject obj = (MyObject) binding.getObject("MyObject");
">To create a DSI (Dynamic Skeleton Interface) based server, the server must extendA: org.omg.CORBA.DynamicImplementation B: org.omg.CORBA.DynamicSkeleton C: org.omg.CORBA.SkeletonInterface D: org.omg.CORBA.DSIHow would you get the actual bound object of type MyObject using JNDI?A: namesList = context.listBindings(someContextName); Binding binding = namesList.next(); MyObject obj = (MyObject) binding.getObject(); B: namesList = context.listBindings(someContextName); Binding binding = namesList.next(); MyObject obj = binding.getObject("MyObject"); C: namesList = context.listContents(someContextName); Binding binding = namesList.next(); MyObject obj = binding.getObject(); D: namesList = context.list(someContextName); Binding binding = namesList.next(); MyObject obj = (MyObject) binding.getObject("MyObject");
-
-
-
-
-
Please write question of interglobe technologies interview
If you have given any interview in interglobe technologies
-
-
-
-
implements the SingleThreadModel interface making the Jsp
Implementing the tag implements the SingleThreadModel interface making the Jsp
Skill/Topic: Programming ConstructsA) None of the above B) content safeC) synchornisedD) thread safe
-
We can restrict the calling of the errorPage in the JSP by setting the value true for the ______ param in the ErrorPage attribute of the Page Directory
Skill/Topic: Programming ConstructsA) isErrorpage
-
State true or false - We make use of a ServletOutputStream object from the JSP page
Skill/Topic: Programming ConstructsA) TrueB) FalseExplanation: use the JSPWriter object
-
State true or false -- ServletContext class gives information about the Request?
Skill/Topic: Programming ConstructsA) TrueB) FalseExplanation: ServletContext: Gives the information about the container. PageContext: Gives the information about the Request
-
When u try to redirect a page after you already have written something in your page, the error encountered is “Response has already been committed error” or popularly called 402 error.
Skill/Topic: Programming ConstructsA) FalseB) True
-
Which of the following correctly defines JSP technology
Skill/Topic: FundamentalsA) JSP page is a text-based document that describes how to process a request to create a response. B) JSP page is a text-based document that describes how to process a to response create a request. C) JSP page is a xml-based document that describes how to process a request to create a response. D) JSP page is a xml-based document that describes how to process a to response...
-
-
The JspPage interface defines the __________ and ____ method which the page writer can use in their pages and are invoked in much the same manner as the ____ and _____ methods of a servlet.
Skill/Topic: JSP Life CycleA) jspInit(), jspDestroy(), init() , destroy()B) init(),jspDestroy(),jspInit(),destroy()C) destroy(),jspDestroy(),jspInit(),init()D) init(),destroy(),jspInit(), jspDestroy()
JSP Interview Questions
Ans