Research on Error and Exception Process Method for Java Web Application
In a traditional Java Web environment,the application is usually used often hard-coded or try …catch phrases to avoid the error and exception,this will not only increase the difficulty of the coding,and projects also face security risks.Builds framework model for error and exception handling in Java Web application,encapsulates errors and exceptions into exceptions,and throws exceptions to a given location to process.Developers can concentrate on business logic,rather than wasting time dealing with errors and exceptions.The model makes the readability,maintainability,modifiability,robustness of the program improved greatly.Gives basic knowledge and guiding principles of errors and exceptions handling in Java Web application.