posted 20 years ago
I'm sorry,it looks too wide and I try to change it but I don't know how to resolve.
Thanks all the people attention of my questions,thank you!
the following is the sinppet code.
<hr>
now first I will open NewOrder.jsp and click submit button 'a','b','c' now it forward itself and display 'c'(the last one I have clicked) on the top of NewOrderjsp,then I will click List image and make jump to List.jsp,In the List.jsp,it display all submit value that I have clicked in the NewOrder.jsp and display items own anchor link ,if I click 'void image',this item will be canceled and item will dispear in the display page(List.jsp),now I click savecheck button,then all the items of display page will save into session(orders).because I have clicked 'savecheck image',it is easy that I come in NewOrder.jsp again,then I click submit button 'a' and click 'List image',I go back to Lisp.jsp,by this time,I hope to see 'a',''b','c'items which don't own anchor link but 'a' without being 'savecheck' will display anchor link and can be canceled by clicking 'void image';to OrderBean.java,I saveing value using it so that evaluate to session(orders)variouble.now I can see the result:'a','b','c'is right they lose anchor,then it should display 'a' under them,but it display 'a','b','c','a' which own anchor link,this is to say,when I click 'savecheck' I don't success to enempty session variouble 'orders' or Vector variouble in the OrderBean still keeps older value.it looks like disorder,alas,my english is poor.
[ June 19, 2003: Message edited by: qingwu wang ]
Thanks...qingwu<br />When I open my eyes,I see your pretty face.