Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question no.2 , page no. 579 and chapter no 10

 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which directives and /or standard actions are applicable only within tag files:

a. tag
b. page
c. jsp:body
d. jsp:doBody
e. jsp:invoke
f. taglib

Given answers; a, d, e

1. I have read only about the tag and jsp:doBody in HFSJ with the exapmles given in the same chapter

2. If jsp:invoke is the directive allowed only within tag files then why dosen't book cover the concept. if this is in the exam then please give me an example showing use of it


Thanks in advance

Poonam
 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Poonam,

taglib, include, tag, attribute, variable are the directives that you can use in tag file.

I think you can use all the standard actions, i am not sure about this.

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPTags5.html

http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jsps/customtag/how-to-tagfile.html#simpletag

http://today.java.net/pub/a/today/2003/11/25/tagfiles.html

check this. You will get more information about tag file.

Thanks,

Bennet Xavier. X

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic