-
-
-
-
What is datacatching in jsp
It can store in catch and move one page to another page
-
-
-
-
-
Which of the tag is used to show the comments in the JSP page
Skill/Topic: Programming ConstructsA) B) C) D)
-
The ________________________ when added to the user session tells us that the session timed out.
Skill/Topic: Programming ConstructsA) SessionTotalTimeOutIndicator B) SessionTotalTimedoutIndicator C) SessionTimeoutIndicator D) SessionTimedoutIndicator
-
Adding a meta, usage like <meta name=”alok” contents=”no index”> tag to the jsp prevents it from being indexed by the search engines like Yahoo and Google
Skill/Topic: Programming ConstructsA) TrueB) False
-
The error message displayed when the page is not found at the correct location.
Skill/Topic: Programming ConstructsA) 550 B) 440 C) 505 D) 404
-
Which of the following statements is true about JSP tag library?
Skill/Topic: Programming ConstructsA) It defines the standard tag that works the same everywhere B) It is a single library and we can use it in multiple jsp containers C) It has support for the common structural tasks like iteration and condition. D) All of the above
-
Which of the following are the JSP scripting elements (Multiple choice)
Skill/Topic: Programming ConstructsA) Declarations B) Scriptlets C) expressions D) None of the above
-
State true or false -- While using request.getRequestDispatcher(path) we need to give the absolute path of the object
Skill/Topic: Programming ConstructsA) TrueB) FalseExplanation: request.getRequestDispatcher(path): In order to create it we need to give the relative path of the resource, context.getRequestDispatcher(path): In order to create it we need to give the absolute path of the resource.
-
What are the possible ways of communication between applet and Servlet (Multiple Choice?)
Skill/Topic: FundamentalsA) HTTP Communication (Text-based and object-based) B) Socket Communication C) RMI Communication D) None of these
-
Domain name service (DNS) maps one particular IP address to a string of ___________.
Skill/Topic: FundamentalsA) characters B) digits C) special symbols D) binary digits
-
The session tracking in the JSP can be done by :- 1. URL rewriting 2. Cookies 3. User-Authorization 4. Hidden Files
Skill/Topic: Session HandlingA) 1,3,4 only B) 2,3,4 only C) 1,2,4 only D) 1,2,3,4
-
Fill in the blanks -- The two types of cookies in java are Permanent cookie and _________ cookie
Skill/Topic: Session HandlingA) Session
-
Fill with the appropriate set -- The browsers are only required to accept________ cookies per site, __________ total per user , and they can limit each cookie's size to __________.
Skill/Topic: JSP Life CycleA) 20, 300, 4096 bytes (4K)B) 300,20, 4096 bytes (4K)C) 30,200, 4096 bytes (4K)D) 200,39, 4096 bytes (4K)
JSP Interview Questions
Ans