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 Project:
structure

Create 3 JSP files – login.jsp,loading.jsp,Success.jsp

login.jsp

loading.jsp

Success.jsp

dao.java

Struts.xml

Output:
login
loading
success

 

 

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *