Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to remove Bean?

 
Akhil Maharaj
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
How do you remove Bean or map from requestScope ?

If it is a simple variable , We can remove it using

<c:remove var="choice" scope="request"/>

If it is a bean myBean in request scope , I can not use

<c:remove var="${mybean}" scope="request"/>
because var can not take EL expressions .

Any ideas on how I can remove attribute/bean from a given scope ?

Thanks
Akhil
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic