Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

help--tag file question.  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!