• 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

Custom Tags related query

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

In one of the JwebPlus test there was a ?, wherein the tag handler extends TagSupport Class and the doStartTag returns EVAL_BODY_BUFFERED .
The Tool says this will give request time exception.
But i had answered Compiler error as unless we implement BodyTag interface the compiler won't trace the constant.

pls correct me if m wrong as m on for SCWCD on monday!!
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As long as the code does not include the interface name with the variable reference (return BodyTag.EVAL_BODY_BUFFERED), I completely agree with you Mike. It should be a compile error.

We'll keep our fingers crossed for you on Monday.
 
reply
    Bookmark Topic Watch Topic
  • New Topic