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 ActionErrors object. while generating the list of 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 [...]