-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Søren,

On 4/21/2010 3:39 PM, Søren Blidorf wrote:
> I have a page that changes month by request.getParameter(”adj”).
> 
> How do I avoid add(calendar.MONTH, adj) when refresh(f5) is pressed

How about providing another parameter which indicates the original
value, and the adjustment is relative to that? Refresh wouldn't
interfere with that.

Or, better yet, put the actual value you want in the URL instead of an
adjustment.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvPXGYACgkQ9CaO5/Lv0PCV/ACgo09MTkA+2gcW9LleNzz0iQFA
jqAAn3WxVw3vQyctkkNNz8rToO+xyrSv
=kCEI
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to