how handle when client send multiple request at atime for
multiple servlets servlets?

Answer Posted / shinde

use a session and a token, and pass the parameter using a hidden method.when the first request reaches the server store the token in a global variable.If a duplicate request comes, validate using the token form the global variable and discard the duplicate one.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain custom tag?

569


What is the purpose of form-beans tag in struct-config.xml?

547


What are the contents on web.xml in struts application ?

511


What is actioninvocation?

536


How to combine the struts with velocity template?

488






How do struts work?

518


Who wrote struts?

546


How to convert struts to spring mvc?

531


What are the Core classes of Struts Framework?

581


What does it cost to replace struts?

497


Explain about the process of functioning of the struts program?

583


What is struts validator framework?

543


What types of validations are available in xml based validation in struts2?

546


What's mvc pattern ?

584


How interceptor works in struts 2?

588