-
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.
-
-
-
-
-
-
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 -- Can a JSP process HTML form data
Skill/Topic: FundamentalsA) TrueB) FalseExplanation: We can get data from the form object in jsp
-
-
What is purpose of jsp forward method
A.forward control to another resource available in the same web application on different containerb.forward control to another resource available in the diff web application on different containerc.forward control to another resource available in the same web application on same containerd.forward control to another resource available in the diff web application on same container
JSP Interview Questions
Ans