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

What is the use of?

0 Answers  


What is jsp translation time?

0 Answers  


Define JSP Scriptlet.

0 Answers  


What is jsp translation phase?

0 Answers  


Can a jsp page instantiate a serialized bean?

0 Answers  


How can I override the jspinit() and jspdestroy() methods within a jsp page?

0 Answers  


hi friends...i created sessions in my login page i can able to create a session but after loging out again i can able access the pages by its addresses. i think u may got problem if possible post me small example for login with sessions including database

1 Answers  


How can I implement a thread-safe jsp page? What are the advantages and disadvantages of using it?

0 Answers  


When the destroy method of the jsp's are called?

0 Answers  


What jsp lifecycle methods can be overridden?

0 Answers  


What is jsp life cycle?

0 Answers  


What is scriptlet, expression and declaration in jsp?

0 Answers  


Categories