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

How run jsp program in netbeans?

0 Answers  


Mention the jstl core tags.

0 Answers  


How do I perform browser redirection from a jsp page?

0 Answers  


Explain lifecycle methods.

0 Answers  


What is client side technology?

0 Answers  






What is iselignored in jsp?

0 Answers  


What language is used to write servlets and jsp?

0 Answers  


How many messaging models do jms provide for and what are they?

0 Answers  


What is difference between java and jsp?

0 Answers  


how to write the code of jsp program?

0 Answers   Infosys,


How are custom tags in jsp created?

0 Answers  


Which categories can be divided jstl tags, give examples.

0 Answers  


Categories