ĐỀ THI LÝ THUYẾT AWASJ


AWASJ-set01-ACCP2007i
---
1. Struts was first developed
        0. in an online exchange between several open source developers
        1. over a long holiday weekend(TRUE)
        2. as a commercial package
2. The reset method on an ActionForm
        0. Sets all properties to their initial value
        1. Sets all properties to null
        2. Repopulates all properties from the request parameters
        3. None of the above(TRUE)


3. Each Struts Action element is uniquely identified by its
        0. Input attribute
        1. Name attribute
        2. Page attribute
        3. Path attribute(TRUE)
4. The name of the Application Resources file is set by the servlet init-param named
        0. Application(TRUE)
        1. Resources
        2. ApplicationResources
        3. messages
5. The validating init-param of the ActionServlet is used to
        0. Bypass calls to the ActionForm validate method
        1. Bypass validation of the Struts configuration file(TRUE)
        2. Generate an error message if an unknown message key is used
6. To specify an ActionMapping to use when a request doesn't match any other mapping, you can
        0. Use an asterisk for the path property
        1. Set the "default" property of the mapping to "true"
        2. Set the "unknown" property of the mapping to "true"(TRUE)
        3. Set the "missing" init-param of the ActionServlet to the mapping's path
7. In Struts 1.1, you can change how Struts populates a form by
        0. Overriding the populate method of the ActionForm
        1. Overriding the processPopulate method of the Request Processor(TRUE)
        2. Overriding the populateBean method of the ActionMapping
8. The < bean:write > tag is:
        0. Always converts HTML markup to entity equivalents, like &lt;
        1. Never converts HTML markup to entity equivalents
        2. Converts markup when filter=true(TRUE)
        3. Converts markup when markup=false
9. From a MVC perspective, Struts provides the
        0. Model
        1. View
        2. Controller(TRUE)
10. Struts Framework is well suited for application of ____ size.
        0. Small
        1. Any(TRUE)
        2. Average
        3. Very small
11. MVC is :
        0. Mode-View-Controller
        1. Model-View-Converter
        2. Model-Viewer-Controller
        3. Model-View-Controller(TRUE)
12. What is Action Class ?
        0. The Action Class is a wrapper around the business logic and is a part of Model(TRUE)
        1. Nothing special about the Action class
        2. Action Class is a wrapper around the Internet logic
        3. None of the above
13. An ActionForm is a JavaBean which extends the:
        0. apache.struts.action.ActionForm(TRUE)
        1. org.apache.struts.action.ActionForm
        2. struts.action.ActionForm
        3. action.ActionForm
14. Use the following command (tag) to display the error on the jsp page:
        0. < html:errors/ >
        1. < html:errors/ >(TRUE)
        2. < errors / >
        3. < html=errors/ >
15. What of following features can _not_ be configured in the JSF configuration file?
        0. Navigation rules
        1. Managed Beans
        2. Custom components
        3. Application Name(TRUE)
16. In JSF - Which tag must enclose all other tags on a Faces JSP page?
        0. < f:faces >
        1. < f:view >(TRUE)
        2. < h:jsf >
        3. < h:view >
17. In JSF - Why does the HtmlForm component render a <hidden> field?
        0. Command events
        1. Submit events
        2. Action events(TRUE)
        3. Click events
18. In JSF - Why does the HtmlForm component render a < hidden > field
        0. To keep track of its identifier
        1. To keep track of the components in tree
        2. To set its submitted property(TRUE)
        3. For JavaScript integration
19. What are the main features of JSF ? ( Choose many )
        0. Page navigation specification(TRUE)
        1. Standard user interface components like input fields, buttons, and links(TRUE)
        2. Read xml file
        3. Easy error handling(TRUE)
20. In JSF - Components can be nested within another component
        0. True(TRUE)
        1. False
Total questions are: 20
BUILD SUCCESSFUL (total time: 0 seconds)
mẫu web bán hàngLiên hệ
Site map
in hóa đơn gtgt - in hóa đơn gtgt - in hóa đơn gtgt