1. What are the two key elements when defining a view in the struts configuration file?
A. access-mappings
B. action-mappings
C. global-forwards
D. global-mappings
E. view-mappings
Answer: BC
2. A developer wants to display product prices in more than one currency. How can the developer enable dual display of currencies?
A. Update the COUNTERVALUECURR field of the CURCVLIST table to the value currency that is needed to be displayed.
B. Update the CURRSTR field of the CURLIST table to the value currency that is needed to be displayed.
C. Use an e-marketing spot in the jsp to display pricing in more than one currency.
D. Use the price range feature of Accelerator to set up dual currency pricing.
Answer: A
3. The recommended method for retrieving and displaying error messages passed to a view from a controller command is to use a:
A. StoreErrorDataBean
B. ResourceBundle
C. TypedProperty exception data
D. error view name
Answer: A
4. Dynamic caching is enabled in WebSphere Application Server and some JSP fragments are being displayed twice when the cached page is served. How should this be prevented?
A. Ensure that true is equal to true for the fragment in the cache configuration file.
B. Set flush=true on every in the file to be cached.