Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Help!Doubt on SimpleTagSupport

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I met with the following question in a book:
Assume the tag handler for a ex:sim tag extends SimpleTagSupport. In what way can scriptlet code be used in the body of ex:sim?
A. Scriptlet is illegal in the body of ex:sim.
B. set the body-content to JSP in the body of the TLD.
The key given by the book is A. But I think the correct key is B. Please give your answers and explainations. Thanks a lot in advance!!!
[ March 13, 2008: Message edited by: Java ILoveYou ]
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Java ILoveYou",
Hi, welcome to the ranch. You may not be aware of the ranch's Naming Policy, so please read it and change your name accordingly (obviously fake names are not allowed). Thank you.
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We cant use scriptlet in the body of the Simple Tag.
<body-content> tag of the TLD can only have values of empty or scriptless.
Option "A" is correct.

[ March 14, 2008: Message edited by: Shruthi Karthick ]
[ March 14, 2008: Message edited by: Shruthi Karthick ]
 
Let nothing stop you! Not even this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic