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
List down the major differences between the jsp custom tags and java beans.
How can I override the jspdestroy() method within a jsp page?
Where we use assertion in java programming?
sample program for reading mails from inbox with file attacchments in servlet
How can we handle exceptions thrown by jsp service method?
What is jstl jar?
write a program in javasacript to shake the window
Show attributes of page directives.
Why is _jspservice () method starting with an '_'?
What is tag file in jsp?
What are the implicit objects in jsp?
Can we define a class in a jsp page?