Escolar Documentos
Profissional Documentos
Cultura Documentos
Question 2 of 20
Display results of Business Logic is responsibility of?
A. M
B. V
C. C
D. All (M, V, C)
Question 3 of 20
How many instances can be created per application module by the RequestProcessor class?
A. Three
B. Uncountable instances
C. Four
D. One
Question 4 of 20
<bean:write> tag in Struts 1.x is used to ___________
A. Define a scripting variable based on the value(s) of the specified bean property
B. Define a scripting variable based on the value(s) of the specified request parameter
D. Render the value of the specified bean property to the current JspWriter
Question 5 of 20
To specify a form-bean of dynamic validation form, which of the following is used in <form-bean> tag
A. type="org.apache.struts.validator.DynaValidationForm"
B. type="org.apache.struts.validator.DynaValid Form
C. type="org.apache.struts.validator.DynaValidatorForm"
D. type="org.apache.struts.validator.DynaValidateForm"
Question 6 of 20
<logic:present> tag in Struts 1.x is used to ___________
A. Evaluate the nested body content of this tag if the requested variable is either null or an
empty string.
B. Generate the nested body content of this tag if the specified value is present in this
request.
C. Generate the nested body content of this tag if the specified value is present in this
request.
D. Evaluate the nested body content of this tag if the requested variable is not equal to the
specified value
Question 7 of 20
Which of the following methods is overridden by Action class?
A. service()
B. destroy()
C. execute()
D. run()
Question 8 of 20
Which of the following is performed by ActionServlet and RequestProcessor?
1.Receiving the HttpServletRequest
2.Populating JavaBean from the request parameters
3.Displaying response on the web page Issues
4.Content type issues handling
5.Provide extension points
A. 1 and 4
B. 2,3,4,5
C. 1,2,4,5
D. 3, 4, 5
Question 9 of 20
Declaration of a action as following is____________
<action-mappings>
<action path=""/logon""
type=""com.codementor.LogonAction""
name=""logonForm""
input=""/Login.jsp""
scope=""request"" >
<forward name=""success"" path=""/Success.jsp"" />
<forward name=""failure"" path=""/Failure.html"" />
</action>
</action-mappings>
</struts-config>
True
False
Question 10 of 20
Performing DB Queries is responsibility of?
A. M
B. V
C. C
D. All (M, V, C)
Question 11 of 20
Which of the following tag is a valid form submission in Struts framework? [ some-action.do is a sample]
Question 12 of 20
Which validation way is used at client-side?
B. Validator Framework
D. Using javascript
Question 13 of 20
Struts framework is based on
Question 14 of 20
Struts framework
Question 15 of 20
<logic:iterate> tag in Struts 1.x is used to ___________
D. Repeat the nested body content of this tag over a specified collection
Question 16 of 20
Which of the following tags in struts-config.xml file defines the availability of necessary Struts JSP custom tag libraries?
A. < jsp-taglib>
B. < struts-taglib>
C. < taglib>
D. < jsp-lib>
Question 17 of 20
Serves logical connection between users interaction and the business process is responsibility of?
A. M
B. V
C. C
D. All (M, V, C)
Question 18 of 20
Which of the logic tags is used for repetitive output generation?
A. < logic:iterate>
B. < logic:lessThan>
C. < login:redirect>
D. < logic:loop>
Question 19 of 20
Prefix of Struts1.x tag name used in JSP file is
A. <html-
B. <html:
C. <s:
D. <s-
Question 20 of 20
Represents Output/Input of the application is responsibility of?
A. M
B. V
C. C
D. All (M, V, C)
Question 1 of 20
Which of the following tag is a valid form submission in Struts framework? [ some-action.do is a sample]
Question 2 of 20
Which tag is used along with uri, to specify the tiles frameworks .tld file?
Question 3 of 20
Serves logical connection between users interaction and the business process is responsibility of?
A. M
B. V
C. C
D. All (M, V, C)
Question 4 of 20
Responsible for making decision among multiple presentation is responsibility of?
A. M
B. V
C. C
D. All (M, V, C)
Question 5 of 20
A. 1,2,4,5
B. 3, 4, 5
C. 1 and 4
D. 2,3,4,5
Question 6 of 20
Represents Output/Input of the application is responsibility of?
A. M
B. V
C. C
D. All (M, V, C)
Question 7 of 20
A. M
B. V
C. C
D. All (M, V, C)
Question 8 of 20
An instance of Action is invoked by
A. ActionServlet
B. ActionListener
C. RequestProcessor
Question 9 of 20
A. Render the value of the specified bean property to the current JspWriter
Question 10 of 20
Question 11 of 20
What is the limitation of creating ActionServlet instances per web application?
A. One
B. Unlimited
C. Three
D. Two
Question 12 of 20
Which of the following delegates the request handling to the RequestProcessor instance?
A. ActionServlet
B. Action class
C. Deployment descriptor
Question 13 of 20
How many instances can be created per application module by the RequestProcessor class?
A. Four
B. One
C. Uncountable instances
D. Three
Question 14 of 20
A. run()
B. service()
C. destroy()
D. execute()
Question 15 of 20
Which of the following should always forwards or redirect to a resource (view) after completed?
A. Action class
B. ActionServlet
C. HttpResponse object
D. Request Processor
Question 16 of 20
A. <s:
B. <html-
C. <s-
D. <html:
Question 17 of 20
Which validation way is used at client-side?
C. Using javascript
D. Validator Framework
Question 18 of 20
A. M
B. V
C. C
D. All (M, V, C)
Question 19 of 20
The dispatch from the controller to the Action class is based on a configuration that is provided by a
A. struts-processor-conifg.xml
B. struts-action-config.xml
C. struts-config.xml
D. struts-configs.xml
Question 20 of 20
Which of the following acts as a bridge between user-invoked URI and a business method?
A. Action class
B. HttpRequest
C. ActionServlet
D. RequestProcessor
Part 1 of 1 -
Question 1 of 20
A. Evaluate the nested body content of this tag if the requested variable is
greater than the specified value.
B. Evaluate the nested body content of this tag if the requested variable is
equal to the specified value
C. Evaluate the nested body content of this tag if the specified value is an
appropriate substring of the requested variable
D. Evaluate the nested body content of this tag if the requested variable is
either null or an empty string
Question 2 of 20
A. Model
B. Controller
C. View
D. Deployment
Question 3 of 20
A. M
B. V
C. C
D. All (M, V, C)
Question 4 of 20
A. Four
B. One
C. Uncountable instances
D. Three
Question 5 of 20
C. Repeat the nested body content of this tag over a specified collection
Question 6 of 20
A. type="org.apache.struts.validator.DynaValidatorForm"
B. type="org.apache.struts.validator.DynaValidateForm"
C. type="org.apache.struts.validator.DynaValid Form
D. type="org.apache.struts.validator.DynaValidationForm"
Question 7 of 20
A. M
B. V
C. C
D. All (M, V, C)
Question 8 of 20
Which of the following tag is a valid form submission in Struts framework? [ someaction.do is a sample]
Question 9 of 20
A. M
B. V
C. C
D. All (M, V, C)
Question 10 of 20
Question 11 of 20
A. <s:
B. <html-
C. <s-
D. <html:
Question 12 of 20
A. One
B. Unlimited
C. Three
D. Two
Question 13 of 20
A. Action class
B. ActionServlet
C. RequestProcessor
Question 14 of 20
True
False
Question 15 of 20
A. ActionServlet
B. ActionListener
C. RequestProcessor
Question 16 of 20
Which of the following acts as a bridge between user-invoked URI and a business
method?
A. Action class
B. HttpRequest
C. ActionServlet
D. RequestProcessor
Question 17 of 20
The dispatch from the controller to the Action class is based on a configuration that
is provided by a
A. struts-processor-conifg.xml
B. struts-action-config.xml
C. struts-config.xml
D. struts-configs.xml
Question 18 of 20
A. FormBean class
B. ActionBean class
C. None of above
D. ActionForm class
Question 19 of 20
A. ActionServlet
B. Action class
C. Deployment descriptor
Question 20 of 20
Serves logical connection between users interaction and the business process is
responsibility of?
A. M
B. V
C. C
D. All (M, V, C)
Question 1 of 20
A. Render the value of the specified bean property to the current JspWriter
Question 2 of 20
Which of the java bean tags is used to show the bean value on the web page?
A. < bean:write>
B. < bean:define>
C. < bean:message>
D. < bean:show>
Question 3 of 20
Question 4 of 20
C. Repeat the nested body content of this tag over a specified collection
Question 5 of 20
A. <s:
B. <html-
C. <s-
D. <html:
Question 6 of 20
Serves logical connection between users interaction and the business process is
responsibility of?
A. M
B. V
C. C
D. All (M, V, C)
Question 7 of 20
A. Action class
B. ActionServlet
C. RequestProcessor
Question 8 of 20
A. 1,2,4,5
B. 3, 4, 5
C. 1 and 4
D. 2,3,4,5
Question 9 of 20
A. M
B. V
C. C
D. All (M, V, C)
Question 10 of 20
A. Contains an error key (which may be used with the resourse bundle)
application
Question 11 of 20
C. Using javascript
D. Validator Framework
Question 12 of 20
Question 13 of 20
A. M
B. V
C. C
D. All (M, V, C)
Question 14 of 20
A. M
B. V
C. C
D. All (M, V, C)
Question 15 of 20
The dispatch from the controller to the Action class is based on a configuration that
is provided by a
A. struts-processor-conifg.xml
B. struts-action-config.xml
C. struts-config.xml
D. struts-configs.xml
Question 16 of 20
instance?
A. ActionServlet
B. Action class
C. Deployment descriptor
Question 17 of 20
Question 18 of 20
A. M
B. V
C. C
D. All (M, V, C)
Question 19 of 20
A. Generate the nested body content of this tag if the specified value is
present in this request.
B. Evaluate the nested body content of this tag if the requested variable is
either null or an empty string.
C. Evaluate the nested body content of this tag if the requested variable is not
equal to the specified value
D. Generate the nested body content of this tag if the specified value is
present in this request.
Question 20 of 20
A. ActionServlet
B. ActionListener
C. RequestProcessor
Question 1 of 20
Question 2 of 20
A. Content safe
B. Synchornised
C. Thread safe