-
Find the number of Visitors
How we can find the number of visitors in a given site?How to find the count of number of hits to a particular page irrespective of user?
-
-
The jsp:useBean attribute is used to indicate the Serialized bean
Skill/Topic: Programming ConstructsA) TrueB) False
-
Which of the following statement is true for the include directive (Multiple choice)
Skill/Topic: Programming ConstructsA) Can be used to incorporate contents from static documents B) It offers option of sharing local variables and better run time efficiencyC) Provides benefit of automatic recompilation. D) It is processed during translation and compilation and does not impose any restrictions on output buffering
-
The tag %@include file=”.........” % > helps in including the ______ file in the JSP page (Multiple choice)
Skill/Topic: Programming ConstructsA) readOnlyB) dynamicC) staticD) None of the above
-
Which tag in the jsp is used to define the error page. (Multiple choice)
Skill/Topic: Programming ConstructsA) None of the above B) C)
-
-
How does a servlet communicate with a JSP page?
The following code snippet shows how a servlet instantiates a bean and initializes it with FORM data posted by a browser. The bean is then placed into the request, and the call is then forwarded to the JSP page, Bean1.jsp, by means of a request dispatcher for downstream processing.public void doPost (HttpServletRequest request, HttpServletResponse response){try {govi.FormBean f = new govi.FormBean();String...
-
Restrict JSP page errors
How do you restrict page errors display in the JSP page.
-
-
-
-
-
-
-
-
Which of the following are the implicit objects in JSP 1. Application, out 2. config, exception 3. page, pageContext 4. request, response, session
Skill/Topic: FundamentalsA) 1, 2 B) 2, 3 C) 2, 3, 4 D) 1, 2, 3, 4
-
-
-
JSP Interview Questions
Ans