This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to remove Bean?  RSS feed

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!