Hi everyone!
I am using struts framework in my j2ee program. And I have this error that occurs during page refresh.
In my jsp page contains this field
<html:hidden property="txtQuantity" /> a property of an actionform class OrderForm. During submission of the html:form the product in the form with the specified quantity is added to orderlist. After doing so and then refreshing the page the same product with the same qty will be added to the orderlist. I am very confuse why is this so although during submission the txtQuantity is set to "" at the end of the process.
Please, pls help me! I badly need your help!
thank you very much in advance.
I am using struts framework in my j2ee program. And I have this error that occurs during page refresh.
In my jsp page contains this field
<html:hidden property="txtQuantity" /> a property of an actionform class OrderForm. During submission of the html:form the product in the form with the specified quantity is added to orderlist. After doing so and then refreshing the page the same product with the same qty will be added to the orderlist. I am very confuse why is this so although during submission the txtQuantity is set to "" at the end of the process.
Please, pls help me! I badly need your help!
thank you very much in advance.