-
-
-
-
-
State true or false: - Can the constructor be used instead of init () to initialize a Servlet
Skill/Topic: ServletsA) TrueB) FalseExplanation: But you shouldn’t. The original reason for init() was that ancient versions of Java couldn’t dynamically invoke constructors with arguments, so there was no way to give the constructor a ServletConfig. That no longer applies, but Servlet containers still will only call your no-arg constructor. So you won’t have access to a ServletConfig or ServletContext.
-
-
-
-
-
-
-
State true or false -- It is possible to call an external application like MSWord by the click on the JSP page or Servlet?
Skill/Topic: FundamentalsA) TrueB) False
-
What is a translation unit
Skill/Topic: FundamentalsA) JSP page can include the contents of other HTML pages or other JSP files. B) When the JSP engine is presented with such a JSP page it is converted to one Servlet class and this is called a translation unit, C) In a translation unit is that page directives affect the whole unit, one variable declaration cannot occur in the same unit more than once, the standard action jsp:useBean...
-
State true or false - There is a limit to the max amount of data that can be stored in the session object ?
Skill/Topic: JSP Life CycleA) TrueB) FalseExplanation: As such there is no limit on the amount of information that can be saved in a Session Object. Only the RAM available on the server machine is the limitation.
-
-
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
-
-
State true or false -- The < % return; % > simply aborts the processing of JSP
Skill/Topic: JSP Life CycleA) TrueB) FalseExplanation: Because your JSP is just a servlet method
-
-
JSP Interview Questions
Ans