I get few parameter from JSP page, fwd to Action class which writes those parameter into DB after auto-generating ID.
ID (auto generate), Name, Question, Email.
what I'm trying to do is afer action class writes to DB. I wanna get that generated ID and fwd to JSP which display fancy msg and #ID.
ResultSet rs = st.executeQuery("select max(id) as ID from Test123");