Each Struts Action element is uniquely identified by its
Input attribute
Page attribute
Name attribute
Path attribute
The name of the Application Resources file is set by the servlet init-param named
application
resources
ApplicationResources
messages
The validating init-param of the ActionServlet is used to
Bypass calls to the ActionForm validate method
Bypass validation of the Struts configuration file
Generate an error message if an unknown message key is used
none
To specify an ActionMapping to use when a request doesn't match any other mapping, you can
Use an asterisk for the path property
Set the "default" property of the mapping to "true"
Set the "unknown" property of the mapping to "true"
Set the "missing" init-param of the ActionServlet to the mapping's path
If you have created a custom ActionMapping subclass with the property "service", you can initialize the value to "selectRecord" using
In Struts 1.1, you can change how Struts populates a form by
Overriding the populate method of the ActionForm
Overriding the processPopulate method of the Request Processor
Overriding the populateBean method of the ActionMapping
None
The tag is:
Always converts HTML markup to entity equivalents, like <
Never converts HTML markup to entity equivalents
Converts markup when filter=true
Converts markup when markup=false
To prevent possible security issues with the tag, you should
Call the reset method if validation fails
Set the tag's redisplay property to false
Set the tag's reset property to false
Use a plain html tag instead
What are all the valid queries to rename a table employee to employee_copy?
rename table employee as employee_copy
rename employee to employee_copy
alter employee rename to employee_copy
alter table employee rename as employee_copy
alter table employee rename to employee_copy
Which two are true about the JSTL core iteration custom tags?
It may iterate over arrays, collections, maps and strings.
The body of the tag may contain EL code, but not scripting code.
When looping over collections, a loop status object may be used in the tag body.
It may iterate over a map, but only the key of the mapping may be used in the tag body.
When looping over integers (for example begin1='1' end='10'), a loop status object may not be used in the tag body.