What is token used for?



What is token used for?..

Answer / Payal

In Struts, a token is used to protect web applications from certain types of malicious attacks, such as Cross-Site Request Forgery (CSRF). The token is sent by the server and expected in subsequent requests to ensure that the request originated from the user and not an attacker.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

Explain the difference between dispatchaction and lookupdispatchaction in struts?

1 Answers  


What is actionmapping?

1 Answers  


How properties of a form are validated in Struts?

1 Answers  


why do we use logic tag library in struts?

1 Answers   Polaris,


Why actionservlet is singleton in struts?

1 Answers  


What are the pros of struts 2?

1 Answers  


when we enter the data in the form how it is stored in formbean class setter and getter methods?

1 Answers   TCS, Wipro,


What is apache struts cve 2017 5638?

1 Answers  


What is container struts2?

1 Answers  


How many instances of servlet usually run in a struts application ?

1 Answers  


How can we upload files in Struts2 application?

1 Answers  


who will run the execute method in struts?

15 Answers   TCS, Wipro,


Categories