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

What is a servlet-to-servlet communcation?

1259


Can we use the constructor, instead of init(), to initialize servlet?

1151


If a servlet is not properly initialized, what exception may be thrown?

1230


What is session?

1125


Which interface must be implemented by all servlets?

1416


Why are http servlets used in programming?

1058


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

1104


What is a generic servlet?

1004


What is cookies in servlet with example?

1229


How would you create deadlock on your servlet?

1225


What is Request Dispatcher?

1514


What is difference between GenericServlet and HttpServlet?

1283


What do you mean by chaining in servlet?

1080


When to use doget() and when dopost()?

1157


Can you call a jsp from the servlet?

1065