Is there a well-supported, common behavior that I can expect if I do something like this in HTML:
<form method="get" action="/somePage.html?param1=foo¶m2=foo">
<input name="param2"></input>
<input name="param3"></input>
</form>
Seems like this sort of thing is inherently ridiculous, but I've seen it used here and there and I was wondering what on Earth the expected behavior should be. Are browsers smart enough to tack on "¶m2=whatever¶m3=whatever" to the action, or do they just throw in a second question mark? Or what? Are there cases where this is actually the right way to do things?
If the method attribute is set to GET, the browser drops the querystring parameters from the action attribute before constructing the form argument values.
So in your example, the request to the server on submit will look like: /somePage.html?param2=value¶m3=value
So no, when the method is "GET", as in your example, there's no reason to do this.