|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#21. You are designing a Web application to guise users through a problem-solving process. All the information about the problems, and their solutions, will be stored in a database. The application will use a central controller to: • Dispatch requests to the appropriate JSP page. • Manage the workflow process across pages. • Load the behavior of the controller dynamically for flexibility. Which design pattern is intended to achieve these goals?
Show comments for this question (0)
Add comments
Link to this question
|
|
#23. Given: 1. public class JumpingBean { 2. private String title – “JumpingBean”; 3. private int num = 10; 4. 5. public void setTitle (String title ) { 6. this.title = title; 7. } 8. public String getExamsheets () { 9. return title; 10. } 11. public void setNum(int num) { 12. this.num – num; 13. } 14. public int getNum(| { 15. return num; 16. } 17. }
Given index.jsp: 1. <html><body> 2. <jsp:useBean id=”bean” class=”com.Examsheets.JumpingBean”/> 3. <jsp:setProperty name=”bean” property=”*”/> 4. Title: <%=bean.getExamsheets()%><br> 5. Num: <%=bean.getNum()%><br> 6. </body></html>
For the given URL: http://localhost/index.jsp?num=3 Which two are returned in the generated HTML? (Choose two)
Show comments for this question (0)
Add comments
Link to this question
|
|
#26. You are designing a large, complex Web application that will be structured in a multi-tier architecture. You must provide interfaces based on both HTML and XML. The application must be maintainable over many development and deployment iterations. Which design pattern is intended to achieve these goals?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.127
|
Server date 06:19 10-01-2009
|
Developed by Zip © 2006
|
|
 |
|
|