This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

Please help me out finding queries on jsp

 
dattathreya bonakurthi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Report post to moderator
Q1). Which JSP tag obtains a reference to an instance of a Java object defined within a given scope?

a)<jsp:plugin>
b)<jsp:forward>
c)<jsp:include>
d)<jsp:servlet>
e)<jsp:useBean>

Q2). Your Web application, analyzestocks, depends on a JAR file, db.jar, provided by an outside vendor.
Referring to the scenario above, where do you place db.jar?

a)analyzestocks/WEB-INF/lib
b)analyzestocks/WEB-INF
c)analyzestocks
d)analyzestocks/WEB-INF/classes
e)analyzestocks/classes/lib

Q3). Which one of the following is a valid attribute for a JSP page directive?

a)buffering="none"
b)isThreadSafe="false"
c)importer="package.class"
d) extender="package.class"
e) caching="false"

Q4). What tier in a 3-tier architecture is responsible for generating the user interface?

a)Enterprise
b)GUI
c)Application
d)Integration
e)Presentation

Q5). Which interface in the java.sql package is used to access database stored procedures?

a)CallableStatement
b)ProcedureStatement
c)Statement
d)StoredProcedure
e)PreparedStatement
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi there,

These look like exam questions and should probably go in that forum (this topic might get shifted there soon).

Also it is Javaranch policy to state where you got the questions from, see QuoteYourSources
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!