Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How the exceptions are handled in struts?

exceptions handled struts
0
Posted

How the exceptions are handled in struts?

0

Exceptions in Struts are handled in two ways: • Programmatic exception handling : Explicit try/catch blocks in any code that can throw exception. It works well when custom value (i.e., of variable) needed when error occurs. • Declarative exception handling :You can either define handling tags in your struts-config.xml or define the exception handling tags within tag. It works well when custom page needed when error occurs. This approach applies only to exceptions thrown by Actions. or

-->

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123