Explain the jsp:setProperty action.



Explain the jsp:setProperty action...

Answer / Anshudeep Srivastava

"The jsp:setProperty action is used to set properties of a JavaBean component. It can be used to initialize a bean with request or application scope, or to pass data between JSP pages by saving data in a bean and then forwarding the request to another page that retrieves it from the bean." "example: <jsp:setProperty name="myBean" property="propertyName" value="value"/>"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

How many tags are provided by jstl?

1 Answers  


What is response sendredirect?

1 Answers  


What is jsp and its advantages?

1 Answers  


How do you delete a cookie within a jsp?

1 Answers  


Can we override serivice()method in jsp?

3 Answers  


How do I use a scriptlet to initialize a newly instantiated bean?

1 Answers  


Can Static method be Override?

1 Answers  


How session is achieved in JSP?(once user logs out,if he press back button of browser he should not be allowed to same page)

1 Answers  


What are the different life-cycle methods?

1 Answers  


hi friends...i created sessions in my login page i can able to create a session but after loging out again i can able access the pages by its addresses. i think u may got problem if possible post me small example for login with sessions including database

1 Answers  


What is scriptlet tag?

1 Answers  


What is the need of jsp?

1 Answers  


Categories