-
-
Users Count
How to count the number of users who logged on to a website?
-
Java Web application project Issue
hi,Actually i m doing my project on java, its a web application project.i am generating the reports from jdbc. but the requirement is it should has to print in the form of MS-Excel. i used the poi api but i m not getting it out. can u help me please....
-
JSP Fragment
What is JSP Fragment?
-
Java Server Pages specification includes (Multiple choice)
Skill/Topic: Programming ConstructsA) Script language declarations, scriplets and expressions. B) JSP standard actions. C) JSP standard directivesD) A portable tag extension mechanism.
-
-
-
-
-
Why there is no constructor in Servlet?
Servlet is Java class. Then why there is no constructor in Servlet? Can we write the constructor in Servlet
-
-
-
State true or false -- We can implement an interface in JSP
Skill/Topic: Programming ConstructsA) TrueB) False
-
-
How do I have the JSP-generated servlet subclass my own custom servlet class, instead of the default?
One should be very careful when having JSP pages extend custom servlet classes as opposed to the default one generated by the JSP engine. In doing so, you may lose out on any advanced optimization that may be provided by the JSPengine. In any case, your new superclass has to fulfill the contract with the JSPngine by: Implementing the HttpJspPage interface, if the protocol used is HTTP, or implementing...
-
-
The ________ listeners are notified when session objects are created, invalidated, or timed out.
Skill/Topic: JSP Thread ModelA) Session AttributeB) Servlet context attributeC) Session ListenersD) Servlet context listeners
-
-
State true or false -- ServletContext class gives information about the Request?
Skill/Topic: Programming ConstructsA) TrueB) FalseExplanation: ServletContext: Gives the information about the container. PageContext: Gives the information about the Request
-
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
JSP Interview Questions
Ans