Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Passing parameters to a struts action in URL

Christopher Schultz

2007-01-18

Replies:

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

Joe,

Joe Yuen wrote:
> Does anyone have an idea as to why this URL
>
> http://localhost:8080/Chisq/Insurance.do?action=edit&personid=1001
>
> works in Firefox but not in IE6? In my action class, I can see a personid in Firefox but in IE personid is null.

I notice that the personid comes after an "&". Is it possible that you
are using XHTML ampersands (&) in your URLs but that you are using
the incorrect DOCTYPE for it?

Then again, if I had to guess, I would have said that Firefox would have
misbehaved on that one and MSIE would have done "what you meant", so I
might be way off base here.

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

iD8DBQFFr/o69CaO5/Lv0PARAgzRAJ9/L0538Do0SSDyGr6fYTm9SbsWHwCfSHmn
p2QpePNFGZatjXdeQFA9rik=
=Nk1c
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.