Current location - Quotes Website - Signature design - How to digitally sign a form in html to ensure its security?
How to digitally sign a form in html to ensure its security?
You can use letter cards in struts. Demonstration: Document Type Databean Document Type Databean = ctrl. Set Databean (Document Type Form, "insert");

string old key = document type form . gettype _ task _ id()。 toString();

string result = ctrl . copeaddddocumenttype(documentTypeDataBean,oldkey); //Add operation

list document type list = ctrl . getalldocumenttype(request,null);

request . set attribute(" document type list ",document type list);

request . set attribute(" document type form ",null);

This.saveToken (request); //Save the letter card

Returns mapping.findforward ("list.documenttype");

You don't need it. The principle is the same. Pass a unique value and make a judgment in the background.