<input type="hidden" name="method" value="theDefaultMethod"/>
<html:submit onclick="document.myformname.method.value='addComponent'"> <bean:message key="function.addcomponent"/> <html:submit>
Eoin Dunne wrote the following on 4/29/2005 1:01 PM:
Nial I used a packet sniffer to see what was actually being posted from the browser to the server.
for some reason the &method=addcomponent gets dropped off the post. There doesn't seem to be any logic to it either. I tried spaces in the text field and that works fine most of the time. But it also drops the &method=addcomponent even when there is no white space in the text field.
So sometimes the post looks like :
componentName=some+Component+Name&method=AddComponent
and sometimes it will look like :
componentName=some+Component+Name
and that's it.
ideas? Is it strictly the browser that is screwing up the post or is struts not creating the html properly.
I'm running internet explorer 6.9.xxxx with the latest service packs.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Rick
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]