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

Answer Posted / upender

you can create with help of useBean tag also.

<jsp:useBean id="beanId' class="packagename.ClassName" />

Is This Answer Correct ?    30 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you get the ip address of the client in servlet?

641


What is a servlet-to-servlet communcation?

736


How can a servlet be used to generate plain text instead of html?

618


What is servlet container. how it works?

724


How do I support both get and post from the same servlet?

792






What are session variable in servlets?

652


How do you run a servlet?

628


Which is better jsp or servlet?

645


What do you understand by mime type?

664


How can we create deadlock situation in servlet?

950


How can we implement a jsp page?

724


What does the term localization refer to?

666


What is SingleThreadModel interface?

776


What do you mean by httpservlet and how it is different from the genericservlet?

630


Which event is fired at the time of project deployment and undeployment?

930