Hi, When we create a button using s:button, Struts 2 always renders button of type submit. If we specify the type as button Struts 2 renders as below <button type="submit"...... /> If we specify type as submit Struts 2 renders as below <input type="submit" ... />
In both the cases the button is of type submit even if we want non-submittable button. Does anyone know how can we get output as below <button type="button".. /> Regards, Shrinivas