File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes who can explain the item to me? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "who can explain the item to me?" Watch "who can explain the item to me?" New topic
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: who can explain the item to me?
 
Similar Threads
Create Variable Name Dynamically
pageEnconding attribute?
include file in jsp
how to include struts action in jsp
MVC form action problem