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 is jsp? Explain

0 Answers  


What is out println in jsp?

0 Answers  


What does jsp mean?

0 Answers  


Explain implicit objects in jsp?

0 Answers  


Is jsp static or dynamic?

0 Answers  


How to deactivate el usage on jsp?

0 Answers  


What is the differences between the jsp custom tags and java beans?

0 Answers  


What is the difference between java servlet and jsp?

0 Answers  


how to enable session tracking for jsp pages,if the browser has disabled cookies?

2 Answers  


how can i add properties in dynamic text fields using .js file?

0 Answers  


What is a jsp expression?

0 Answers  


Explain the difference between servletcontext and pagecontext in jsp?

0 Answers  


Categories