wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt on Qno-:5 Pno-:487(HFS&JSP) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt on Qno-:5 Pno-:487(HFS&JSP)" Watch "Doubt on Qno-:5 Pno-:487(HFS&JSP)" New topic
Author

Doubt on Qno-:5 Pno-:487(HFS&JSP)

Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643
Following is the question given in HFS&JSP

Now we have to decide the <body-content> of each tag that can be used in tld.

HFS&JSP says

For tag1
body-content is JSP

For tag2
body-content is empty
body-content is JSP
body-content is scriptless


For tag3
body-content is JSP
body-content is scriptless

I have a doubt in tag2 shown by bold.
Tag2 does not have body so it is empty.
Then how its body-content can be JSP and scriptless?

Thanks
Arvind Giri
Ranch Hand

Joined: Jun 26, 2005
Posts: 91
Even if you define body-content = JSP or scriptless, <my:tag2 a="47"/> would be legal.


Regards<br /> <br />Arvind Giri<br />MCA,SCJP 1.4,SCWCD 1.4<br />Looking for SCDJWS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt on Qno-:5 Pno-:487(HFS&JSP)
 
Similar Threads
using JSTL query
JSP tags doubt
Doubt in HeadFirst question
lt body-content gt element in TLD
Doubt in Q17 in HFSJ Chapter 10