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
What is servletconfig?
What is the difference between the servlets and cgi programs?
Describe some assignments that are executed by servlet container?
What is the importance of init() method in Servlet ?
Explain the difference between generic servlet and http servlet?
Explain how to improve Servlet Performance?
Explain load on start-up and its importance?
How a servlet is unloaded?
Can you create a deadlock condition on a servlet?
Why do we have servlet listeners?
What is session tracking?
What are the common methods that are included in the http servlet class?
What is the difference between Server and Container?
Which httpsession object is used to view and manipulate information about a session?
Can you refresh servlet in client and server-side automatically?