aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes tag file body should not contain scripting? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "tag file body should not contain scripting?" Watch "tag file body should not contain scripting?" New topic
Author

tag file body should not contain scripting?

Chrix Wu
Ranch Hand

Joined: Nov 15, 2009
Posts: 121
As we know, a tag file body must not contain scripting

But i saw this valid code on HFJS edition 1 page 554,


This that body a scripting?

** SCJP 5.0 84% **
** SCWCD 1.5 76% **
Chrix Wu
Ranch Hand

Joined: Nov 15, 2009
Posts: 121
I checked some study notes, a comment is also a kind of scripting.

but how come this code is valid?
Chinmaya Chowdary
Ranch Hand

Joined: Apr 21, 2008
Posts: 432
Hi, Chris.

Here 'tag1' is 'Tag1Handler' and extends 'TagSupport', which means it is classic tag. Classic tags allows scripting in their body.
Chrix Wu
Ranch Hand

Joined: Nov 15, 2009
Posts: 121
Chinmaya Chowdary wrote:Hi, Chris.

Here 'tag1' is 'Tag1Handler' and extends 'TagSupport', which means it is classic tag. Classic tags allows scripting in their body.


ook , thanks.
 
 
subject: tag file body should not contain scripting?