Using HTML (which is I presume what your web app spits out), use the meta tag to redirect a user. An example:
Tryit Editor v1.4