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
How to commuincate between an applet and a servlet?
What is MIME Type?
What is setattribute in servlet?
How can we upload the file to the server using servlet?
How can we invoke another servlet in a different application?
Which http method is said to be non-idempotent and idempotent?
What is the purpose of dispatcherservlet properties?
How can we refresh automatically when new data has entered the database?
Explain the difference between get and post method in servlet?
How to notify an object in session when session is invalidated or timed-out?
What is difference between server and servlet?
How to create war file?
Explain the working of service() method of a servlet.
What is the difference between context parameter and context attribute?
What is the difference between Server and Container?