wood burning stoves 2.0*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
wood burning stoves
 
subject: tag file body should not contain scripting?
 
Similar Threads
A few study aids for the beta!!
HFSJ - Page 557 - Question 17
using JSTL query
EL
Scripting in tag bodies?