Explain how to work with error tags?



Explain how to work with error tags?..

Answer / Satya Nand Pandey

Error tags in Struts2 allow you to handle errors and exceptions in your application. You can define custom error pages or redirect to specific error pages based on the exception type. Common error tags include <s:actionerror>, <s:actionmessage>, and <s:exception>. Error messages can be localized using i18n properties.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

kindly can any one post for me portlet,hibernate,spring example code and configuration,and some related tutorials plz its urgent for me....thanks in advance ............

1 Answers  


what is BUSINESS DELIGATE PATTERN,DAO,VO,DTO?

6 Answers   BOB Technologies, TCS,


What is the purpose of @before?

1 Answers  


In Struts Programming which is the controller,which is the model?

10 Answers  


What is the difference between struts and spring?

1 Answers  


What does apache struts do?

1 Answers  


What design patterns are used in struts?

1 Answers  


Can we write Structs application without using Action Class directly or indirectly(extends Action class)

5 Answers  


What is an interceptor stack?

1 Answers  


Can we have multiple struts-config files in a single web app? If yes why should we have them? Will multiple copies make any impact on performance?

2 Answers   Accenture,


What do you mean by actionservlet?

1 Answers  


What is struts in java with example?

1 Answers  


Categories