Hi here i am unable to get alert message in my jsp file.
could you explain me why this alert msg is not executing.(AFTER ALERT I AM REDIRECTING TO ANOTHER PAGE ) (it is not giving any err) if i dont redirect then the msg is coming but when i redirect it is not coming how and why???
4ex the code is like: <% ... pst.executeUpdate(); out.print("<script>alert('Record Updated Successfully');</script>"); pst.close(); response.sendRedirect("anotherPage"); %>
could anybody suggest me <b> how should i get alert msg before redirecting a page </b>