If you're having that problem, you are not doing a redirect but instead doing a forward. If you use a redirect
you should not have a problem.
If you are using
Struts you can add the attribute redirect="true" to your forward's definition in struts-config.