| Author |
who can explain the item to me?
|
Niu Xiuyuan
Ranch Hand
Joined: Jun 08, 2001
Posts: 68
|
|
a question in a mock: Attribute flush of jsp include action is a mandatory attribute 1) yes 2) no 3) Only the first time a jsp include action appears in a page what means "mandatory attribute"?
|
Sun Certified Java Programmer<br />Sun Certified Web Component Developer
|
 |
ersin eser
Ranch Hand
Joined: Feb 22, 2001
Posts: 1072
|
|
<jsp:include page="path" flush="true" /> page and flush are the attribute of <jsp:include> tag. In version 1.1 of JSP Spec it was required to set it to true In version 1.2 of JSP Spec it is not required and defaults to false.
|
 |
Niu Xiuyuan
Ranch Hand
Joined: Jun 08, 2001
Posts: 68
|
|
but the answer is "no". could u explain it for me?
|
 |
Reda Mokrane
Ranch Hand
Joined: Jul 25, 2001
Posts: 235
|
|
Hi !!! mandatory attribute = needful attribute = obligatory attribute The question: Attribute flush of jsp include action is a mandatory attribute The answer is "no" because flush of jsp include action is not a mandatory attribute mean you can use <jsp:include page="path" /> without the flush attribute <jsp:include page="path" flush="true" />. correct me if i'm wrong
|
 |
Axel Janssen
Ranch Hand
Joined: Jan 08, 2001
Posts: 2164
|
|
It is not mandatory to set, because it defaults to false, if we omit it (as Ersin said). correct me if I am wrong. Axel
|
 |
Reda Mokrane
Ranch Hand
Joined: Jul 25, 2001
Posts: 235
|
|
Axel, you are correct. as I said
The answer is "no" because flush of jsp include action is not a mandatory attribute mean you can use <jsp:include page="path" /> without the flush attribute <jsp:include page="path" flush="true" />.
|
 |
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
|
|
mandatory attribute = needful attribute = obligatory attribute = required attribute. I agree with all others, it is not a required (mandatory) attribute. - satya
|
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
|
 |
 |
|
|
subject: who can explain the item to me?
|
|
|