Call
whatsapp
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
Cisco Training in Trivandrum, Trinity Technologies

No.1 Training Institute in Kerala

J2EE QUESTIONS : PART 1

Which of the following is not a directive?

include

page

export

useBean

SHOW ANSWER

Which of the following method can be used to read a form parameter in JSP?

request.getParameter()

response.getParameter()

request.getValue()

response.getValue()

SHOW ANSWER

Can a JSP page process HTML FORM data?

true

false

SHOW ANSWER

Which tag is used to execute java source code in JSP? 

Declaration Tag

Scriptlet tag

Expression tag

None of the above

SHOW ANSWER

A JSP page consists of which tags? 

HTML tags

JSP tags

Both A & B

None of the above

SHOW ANSWER

Which packages does a JSP API consist of? 

javax.servlet.jsp

java.servlet

javax.servlet.jsp.tagext

Both A & C

SHOW ANSWER

Which tag should be used to pass information from JSP to included JSP?

Using <%jsp:page> tag

Using <%jsp:param> tag

Using <%jsp:import> tag

Using <%jsp:useBean> tag

SHOW ANSWER

Which option is true about session scope?

Objects are accessible only from the page in which they are created

Objects are accessible only from the pages which are in same session

Objects are accessible only from the pages which are processing the same request

Objects are accessible only from the pages which reside in same application

SHOW ANSWER

Which is not a directive?

include

page

export

useBean

SHOW ANSWER

The difference between Servlets and JSP is the …………….

translation

compilation

syntax

Both A and B

SHOW ANSWER

Why DB connections are not written directly in JSPs?

Response is slow

Not a standard J2EE architecture

Load Balancing is not possible

Both B and C

SHOW ANSWER

Which http method send by browser that asks the server to get the page only?

get

post

option

put

SHOW ANSWER

JDBC is a ………………… interface, which means that it is used to invoke SQL commands directly

low-level

middle-level

higher-level

user

SHOW ANSWER
BACK | NEXT
TRINITY SOFTWARE SOLUTIONS,IInd floor, Radheyam Towers, Gandhari Amman Kovil Road, Pulimood, Trivandrum - 1
0471-2334855 | 2335855 | 9447387064 | 9847003556 info@trinitytechnology.in