This is my JSP of popup screen when click Add New Product or Save button.
When i click the link at "Add New Product", it will create new product. After the new product create and insert to database, popup screen will be close. After close, after key in all value, button save at parent screen will be press. It will be check exist data at database. It Should be prompt "mrktCdProdInd == 'Y'" and fun function " fnsave(). But now is after close the popup window, it can't insert the data and mrktCdProdInd =='N', this is wrong data, my database already have this new product data. Please kindly advise how to solve this issue, whether need refresh window? if it refresh, my data key in before will be clear.