-
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)
-
Fill in the blanks -- The maximum age of the cookie in JSP can be set by _________________
Skill/Topic: JSP Life CycleA) cookie.setMaxAge(int seconds)B) cookie.setMaxAge(float seconds)C) cookie.setAgeMax (float seconds)D) cookie.setAgeMax (int seconds)
-
The mails can be send from the Servlet by the usage of the following :-
Skill/Topic: ServletsA) Simple Mail Transfer Protocol (SMTP) implementation in Java.B) Java Mail APIC) Both a and bD) Neither a and b
-
Which of the following statement is true about Servlet chaining (Multiple choice)
Skill/Topic: ServletsA) It is the process of chaining the output of one Servlet to the anotherB) Need to do special configuration in the Java Web servers for this process to run.C) This concept has been removed from the standard application for servlets.D) None of the above
-
The following is the sequence of the life cycle of the servlets1. init()2. destroy()3. service()
Skill/Topic: ServletsA) 1,2,3B) 1,3,2C) 2,3,1D) 1,3,2
-
-
-
-
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