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...

how can we create object to a class in a jsp file?

Answer Posted / shane rajasinghe

Creating The Object
<% MyBean student=new MyBean(); %>
*************************************************
calling attributes in the created object
<jsp:getStudentInfo name="student" property="name"/>
<jsp:getStudentInfo name="student" property="dit"/>
*****************************************************

Is This Answer Correct ?    7 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to commuincate between an applet and a servlet?

1057


What is MIME Type?

1148


What is setattribute in servlet?

1148


How can we upload the file to the server using servlet?

1088


How can we invoke another servlet in a different application?

1217


Which http method is said to be non-idempotent and idempotent?

1053


What is the purpose of dispatcherservlet properties?

1120


How can we refresh automatically when new data has entered the database?

1116


Explain the difference between get and post method in servlet?

1145


How to notify an object in session when session is invalidated or timed-out?

1086


What is difference between server and servlet?

1093


How to create war file?

1168


Explain the working of service() method of a servlet.

968


What is the difference between context parameter and context attribute?

1052


What is the difference between Server and Container?

1256