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
Hi, We developed a webpage using jsp for our team, now we need to know who are employees opening this page,i.e, we need to get the windows user name when ever he/she open the page and stores into a variable. Plz help on this
Can we use methods in JSP? If so where the methods are stored in servlet class file?
6 Answers Bodhtree, Cognizant, Persistent, TCS,
What is the use of implicit object named "application" in Application?
What is out println in jsp?
What is jsp and why it is used?
How can I override the jspinit() method within a jsp page?
What are the different jsp element types?
Explain jsp technology?
how to enable session tracking for jsp pages,if the browser has disabled cookies?
Can we use jstl in html?
What are the implicit el objects in jsp?
Can constructor be used instead of init(), to initialize servlet?