• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Why <c:set var=..></c:set> will not accepts <jsp:attribute> inside the body

Ranch Hand
Posts: 437
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, the correct type is <jsp:attribute name="value">${userName}</jsp:attribute>. In 'name' attribute we must specify the attribute name of the parent tag.(in this case <c:set var="id" value=...>). Works for <c:set target=...>version also.The same is true for custom tags. Thankyou.
Are you here to take over the surface world? Because this tiny ad will stop you!
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic