You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Joe Yuen <jo...@chisq.com> on 2007/01/18 22:12:03 UTC

Passing parameters to a struts action in URL

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 am using struts 1.2.8. 
 
Thanks,
Joe Yuen


Re: Passing parameters to a struts action in URL

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----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 (&amp;) 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@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org