how to bypass the remaining html code after the <jsp:forward> tag??After processing DELETE task from del.jsp page, I am again rendered to this page which shows the html form. how can I leave the remaining html code after it?
<% String hiddenValue_delete = request.getParameter("del"); %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <% if (hiddenValue_delete != null) { %> <jsp:forward page="del.jsp"> <jsp:param name="hide" value="<%= request.getParameter(\"del\")%>"/> </jsp:forward> <% }%> <form method="post" action="update.jsp"> <table id="edit" border="0" cellpadding="1" cellspacing="1"> /* HTML TABLE*/ </table> </form> </body> </html>
My del.jsp page contains:
<% /* java code for deleting data from the selected row, no any html code*/ %>