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

What are the advantages of jsp?

0 Answers  


How to disable session in jsp?

0 Answers  


What are the components that make up a tag library in jsp?

0 Answers  


Is jsp server side scripting language?

0 Answers  


What is jsp custom tag and what are it’s components?

0 Answers  






Tell us about the jsp life cycle methods.

0 Answers  


What is the resourcebundle class in jsp?

0 Answers  


How do you connect to the database from jsp?

0 Answers  


What is the use of?

0 Answers  


What is tld in jsp?

0 Answers  


How to retrieve warnings?

0 Answers  


how to print a string with out using out.println?

3 Answers   Elementus Technologies,


Categories