when the user click button to open popup window.
when user enter somthing in popup window and click submit button, then call servlet to insert record into database.
afterward, close the popup window and then refresh opner window.
how to do this?
any example similar to my case.
also, i found that i can't insert chinese into database(my sql)
i don't know if it is the programming problem or i need to set something in mysql database.