Difference between errortag and message tag »



Q) What is the difference between errorstag and message tag?
Rep) Errorstag genereates the error
for Ex:
<%@ taglib uri=”/tags/struts-html” prefix=”html” %>
O/P of rs.jsp
</html:errors/>
When the errors tag is evaluated a list of error message will be generated based on the ActionError objects available in ActionError objects available in ActionErrors object. while generating the list of errors the errors [...]

STRUTS Interview Questions »



Q) What is the advantage of DispatchAction class?
A) Using DispatchAction class you can overcome writing one Action class for one business entity. Instead you can write multiple business entities in one Action class and call the business  method that is required by the application.

Q) Can you write your own method in Action class other than [...]