-
All the ___________ data is kept at the application server ___________ data is kept at the web server
Skill/Topic: FundamentalsA) dynamic, static B) static, dynamic C) HTML, Servlet D) Servlet, HTML
-
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
-
URL encoding is the method of replacing all the spaces and other extra characters into their corresponding _______ Characters
Skill/Topic: FundamentalsA) Hex B) Binary C) Octal D) Decimal
-
Following methods can be overridden in the JSP page. (Multiple choice)
Skill/Topic: Programming ConstructsA) jspDestroy()B) jspInit()C) _jspService()D) getParameter()
-
Following method(s) cannot be overridden in the JSP page.
Skill/Topic: Programming ConstructsA) jspDestroy()B) jspInit()C) _jspService()D) getParameter()
-
JSP technology is extensible
Skill/Topic: FundamentalsA) TrueB) FalseExplanation: JSP technology is extensible through the development of custom actions, or tags, which are encapsulated in tag libraries.
-
-
-
Upload Files to Database
How to upload files to database using JSP?
-
Which of the following correctly defines JSP technology
Skill/Topic: FundamentalsA) JSP page is a text-based document that describes how to process a request to create a response. B) JSP page is a text-based document that describes how to process a to response create a request. C) JSP page is a xml-based document that describes how to process a request to create a response. D) JSP page is a xml-based document that describes how to process a to response...
-
What JSP lifecycle methods can I override?
You cannot override the _jspService() method within a JSP page. You can however, override the jspInit() and jspDestroy() methods within a JSP page. jspInit() can be useful for allocating resources like database connections, network connections, and so forth for the JSP page. It is good programming practice to free any allocated resources within jspDestroy().The jspInit() and jspDestroy() methods are...
-
Fill in the blanks -- ________________ is used to call other Servlet or JSP from the current Servlet
Skill/Topic: ServletsA) RequestDispatcherB) ResponseDispatcherC) ServletInvokerD) None of the above
-
-
What tools can be used to generate the multiple views in jsp
Skill/Topic: FundamentalsA) xalan-J B) Saxon C) Jdk1.5 D) None of the above
-
-
Which jar file should be mandatory be there in the CLASSPATH for working with Servlet.
Skill/Topic: ServletsA) javax.servlet.*B) java.servlet.*;C) javax.servlet.HttpRequestD) javax.servlet.HttpResponse
-
-
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
-
-
In the properties files _________ defines global Servlet settings and list of servlets in the system.
Skill/Topic: FundamentalsA) Servlet.properties B) Page.properties C) Session.properties D) None of the above
JSP Interview Questions
Ans