Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

help--tag file question.

 
Anna Wang
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, everyone,

I am not very clear with the answer of ch 10 mock question NO. 19 (HFSJ)


19) Which are valid in tag files? (JSP v2.0 pg.1-174)
a)<jsp oBody/>
b)<jsp:invoke fragment="frag"/>
c)<%@ page import="java.util.Date"%>
d)<%@ variable name-given="date" variable-class="jave.util.Date"%>
e)<%@ attribute name="name" value="blank" type="java.lang.String"%>

I have two questions:
1)
What's the meaning of that (JSP v2.0 pg.1-174) ?
2)
Why b and d are correct? I did not find the information about those in the book.( I just know a is correct)

Thank you so very much for your help.

Anna
 
Reshma Shanbhag
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there is no mention of jsp:invoke and variable directive in HFSJ, check the specs you will find them.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!