Multiple choice technology web technology

Which struts tag is used to display error messages

  1. <html:errors/>

  2. <bean:errors/>

  3. <html:message/>

  4. <bean: message/>

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In Struts 1.x, the tag is used to display error messages that have been added to the ActionErrors or ActionMessages objects in an ActionForm or Action. The tag retrieves errors from the request scope and renders them appropriately. Option B is incorrect because there is no tag. Option C is for individual messages, not error collections. Option D has a space and doesn't exist.