Register Login
Internet / AI Technology University (ITU/AITU)
Created by info@itofthefuture.com
Welcome Anonimous.User to this quiz related to Test JSP and Servlets.

Read the question and choose the best answer. Time is limited to 40 seconds!

Important! Do not forget to rank the quality of the question (from bad to excellent).
An initiator of the quiz will get royalty score for QnAs created by her/him and can win the Top Creativity Prize.
Question:
You are developing a Struts based web application. Users of a community submit a list of their favorite books (one book at a time, with fields for title, authors, description and rating in the HTML submit form). The form data must be validated. The class that is responsible for this is BookSubmitForm. After submitting the book the user is directed to a page where he sees how many other users have recommended this book already. The class that is responsible for the business logic (e. g. retrieve the information from the database) is BookSubmitAction. The struts configuration file is given below. Which UML diagrams feature the design that is behind this? <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dts/struts-config_1_0.dtd"> <struts-config> <form-beans> <form-bean name="submitBook" type="com.theserver.BookSubmitForm" /> </form-beans> <action-mappings> <action path="/newbook.do" name="submitBook" scope="request" validate="true" input="/newbook/"> <forward name="show_results" path="/otherbooks/" /> </action> </action-mappings> <message-resources parameter="ApplicationResources" null="false" /> </struts-config>

img=web/strutse03.jpg
.



img=web/strutse01.jpg
.



img=web/strutse04.jpg
.



img=web/strutse05.jpg
.



img=web/strutse02.jpg
.



Rank the Quality of the Question from "-10" (bad) or "0" (not clear) to 10 (correct) or even 20 (very good!)
-10 (bad/wrong) 0 (not clear) 10 (correct) 20 (very good!)
Your summary report will be available to you and your instructor. Thank you for your work!!!