• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Doubt on Qno-:5 Pno-:487(HFS&JSP)

 
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Following is the question given in HFS&JSP

Now we have to decide the <body-content> of each tag that can be used in tld.

HFS&JSP says

For tag1
body-content is JSP

For tag2
body-content is empty
body-content is JSP
body-content is scriptless


For tag3
body-content is JSP
body-content is scriptless

I have a doubt in tag2 shown by bold.
Tag2 does not have body so it is empty.
Then how its body-content can be JSP and scriptless?

Thanks
 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even if you define body-content = JSP or scriptless, <my:tag2 a="47"/> would be legal.
 
reply
    Bookmark Topic Watch Topic
  • New Topic