leave the remaining html code after jsp:forward tag
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?
Code :
<%
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:
Quote:
<% /* java code for deleting data from the selected row, no any html code*/ %>
Re: leave the remaining html code after jsp:forward tag
That doesn't jive with what the documentation says: http://java.sun.com/products/jsp/tag...axref.fm9.html
I'd recommend throwing together an SSCCE of both your main page and your delete handler.