Firefox submits form twice which results in calling the function second time that gives exception. it works fine on Internet Explorer..
JSP page submits form through javascript action.submit() by using POST method. its executes java function fine for the first time..after completion of the execution of function, firefox calls the same function second time automatically using GET method which results in thorwing exception. My question is why firefox submits the same form second time using GET method.
Τροποποιήθηκε στις
Όλες οι απαντήσεις (2)
Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
To Enable SafeMode
- You can open Firefox 4.0+ in Safe Mode by holding the Shift key when you open the Firefox desktop or Start menu shortcut.
- Or open the Help menu and click on the Restart with Add-ons Disabled... menu item while Firefox is running.
- Once you get the pop-up, just select "'Start in Safe Mode"
If it works in Safe Mode and in normal mode with all extensions (Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: "Firefox > Quit Firefox"; Linux: "Firefox/File > Quit")
A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.