July 11, 2008 at 11:11 AM
Regarding ur alert box problem, one thing i want to tell u.
Without submitting the form , you can't retrieve the data from database for specified operation. You can't write the code, which is written in process.jsp, in Home Page. Because, for jsp or html elements like radio buttons or submit buttons,
Because, queries are different for each radiobutton. You have to decide which radio button is selected, then only you can do required operation. So to do that, you have to forward form to either java action class or to some jsp (i.e, process.jsp). Without doing this, you cant perform required operation.
Next thing, After submitting the form only you will know whether the operation(insertion or deletion or etc.,) is successfull or not.
So to my knowledge, it is not possible to get the alert box in home page.