<%@ taglib prefix="s" uri="/struts-tags" %> Token Examples

Token Example 2

Example 2: This example illustrates a situation where you can transfer money from one account to another. We use the token to prevent double posts so the transfer only happens once. This action will redirect after you have submitted the form.


Balance of source account:
Balance of destination account: