• Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple Tag question

 
dharmendra Rathor
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following statements is true of simple tags
Choose at least one answer.
a. Simple tags cannot perform iteration Incorrect
b. Each time a simple tag iterates the doTag method is invoked
c. The doTag method returns EVALUATE_BODY until the completion of iteration Incorrect
d. Simple tags may not have a body-content type of JSP Correct

What is the answer ?
 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Simple tags can have a body content of tagdependent, empty and scriptlesss except jsp. Whereas Classic tags can have all the four tags inlcuding jsp.
With regards,
Padma priya N.G.
 
Amol Nayak
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi dharmendra, what do you think are the answers? Whats is your doubt?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!