Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

List down the major differences between the jsp custom tags and java beans.

0 Answers  


How can I override the jspdestroy() method within a jsp page?

0 Answers  


Where we use assertion in java programming?

2 Answers  


sample program for reading mails from inbox with file attacchments in servlet

0 Answers  


How can we handle exceptions thrown by jsp service method?

0 Answers  


What is jstl jar?

0 Answers  


write a program in javasacript to shake the window

0 Answers  


Show attributes of page directives.

0 Answers  


Why is _jspservice () method starting with an '_'?

0 Answers  


What is tag file in jsp?

0 Answers  


What are the implicit objects in jsp?

0 Answers  


Can we define a class in a jsp page?

0 Answers  


Categories