For starters, strings are compared using the "equals" method, not using the "==" and "!=" operators. So ' request.getParameter("all")!="" ' is wrong.
The form field "all" is incomplete - it is missing the "value" field. Does it work if you fix that, and leave out all the JavaScript code? If so, then the second step is to figure out why the JavaScript code doesn't work as intended.
A couple points:
1) Always line up your code, it makes it alot easier for people to look at the code to help you.
2) You have an error in your code on the input type="submit" line.
3) Try using equals() for string comparison
Danger, 10,000 volts, very electic .... tiny ad:
a bit of art, as a gift, the permaculture playing cards