Hi, I'm using struts 1.1 along with wsad 5.1.2 In jsp file there is a problem :
///// pls read onclik as onclick
but , when I changed the property of button to some thing else it works fine...
what is wrong in giving property as some reserve keyword ? as it is passed to the tld as an String literal only .
any good reason which works behind the seen or some bug in tld ?
posted 9 years ago
The moral of the story: Never name a button "submit" on your form. Also avoid any of the form object's other method names such as reset, focus, etc.