Category: Struts

Uploading files in Struts

Uploading files in Struts Struts has default interceptor (in-build interceptor) for uploading files, however not that these files will get stored in temporary directory they should be processed and stored…

execAndWait in Struts Example

execAndWait in Struts Example execAndWait is one of the default-Interceptor in Struts (you can view default-interceptors¬†here). The execAndWait interceptor shows an intermediate webpage when result page is loading. Structure of…

Custom Interceptor in Struts 2

Custom Interceptor in Struts 2 What are Interceptors? Interceptors are used for performing operations like Validation, file upload, exception handling etc. Advantages of Interceptors: Separation of Concerns, If we need…

Interceptors in Struts2

Interceptors in Struts2 What are Interceptors? Interceptors are used for performing operations like Validation, file upload, exception handling etc. Advantages of Interceptors: Separation of Concerns, If we need to remove…