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

What are the 5 constants of action interface?

546


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

558


What is switchaction?

657


What is package name in struts xml?

563


What are the aware interfaces in struts2?

550






Explain about the future of struts?

535


Why do we need mapdispatchtoprops?

476


how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4040


How does interceptor work in struts2?

508


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

566


What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?

576


What is struts and springs in java?

530


What are inner class and anonymous class?

547


What is xml based validation in struts2?

562


What is actioninvocation in struts2?

584