Java Server Page I can use a function in two ways:
Either I declare
<jsp:useBean id="myBean" scope="session"
class="mypack.mysubpack.MyClass" />
or I declare
<%@ page import = "mypack.mysubpack.MyClass" %>

In each case I can call a function later by coding

MyClass.myFunction();

So what is the difference between the two variantes?

Why are Beans invented if we don't need them because we
have the import statement ?
please guide me its an humble request to you reader if u
know n i'll be thankful to you...........


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JSP Interview Questions

Explain JSP directives.

0 Answers  


What are the jsp lifecycle phases?

0 Answers  


What are jsp declarations?

0 Answers  


How can we avoid direct access of jsp pages from client browser?

0 Answers  


What Do you Mean By Object Serialization in java.

2 Answers   Accenture, Cognizant,






Which implicit object is not available in normal jsp pages?

0 Answers  


in jsf page i use two dropdown list.i.e state & district.if state dropdown is selected then & then district is enable.what should be my code.

0 Answers   Tech Mahindra,


how to maintain sessions in jsp?can you tellme the methods.

16 Answers   IBM, Scope International, TCS,


What is the purpose of jsp?

0 Answers  


What is jsp param?

0 Answers  


What is jsp container?

0 Answers  


What is a jsp container?

0 Answers  


Categories