This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

c:remove does not remove from all scopes

 
Ivan Mora
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ranchers !

I'm experiencing an strange behavior in the following code:



Checking the specs, it should output "no var" as c:remove should delete the attribute from all scopes.

The output I get is "request".

Duplicating the <c:remove var='myvar /> line, the output is "session".

So, it looks like after finding the first occurence of the attribute, it stops removing.

Is this a correct behavior ?

Thanks in advance
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Funny that it worked fine with Tomcat5.5.
Which container are you using ?
 
Ivan Mora
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Christophe !

Thanks for your fast answer !

I'm using Oracle Container for Java (oc4j).

Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic