Hello,
I have this piece of code after executing a specific action to redisplay the changed data:
<%@ import="java.util.*,vh.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/transitional.dtd">
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="netscape.css" />
</head>
<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
<form name="forwardForm">
<input type="hidden" name="parent_attr" value="<%=request.getAttribute("parent_attr").toString() %>">
<input type="hidden" name="catalogue" value="<%=session.getAttribute("toc_catalogue").toString() %>">
<input type="hidden" name="project" value="<%=session.getAttribute("toc_project").toString() %>">
<input type="hidden" name="object_type" value="<%=session.getAttribute("toc_objectType").toString() %>">
<input type="hidden" name="object_key" value="<%=session.getAttribute("toc_objectKey").toString() %>">
<input type="hidden" name="scrollY" value="<%=request.getAttribute("scrollY").toString() %>">
</form>
<form name="forwardForm2">
<input type="hidden" name="attr" value="<%=request.getAttribute("attr").toString() %>">
<input type="hidden" name="catalogue" value="<%=session.getAttribute("toc_catalogue").toString() %>">
</form>
<script type="text/javascript" language="JavaScript1.2">
document.forwardForm2.action = "gliederung_select.do";
document.location.href="gliederung_select.do";
document.forwardForm2.submit();
document.forwardForm.action = "refrtree.do";
document.forwardForm.target = "Tree";
parent.Tree.location.href="refrtree.do";
document.forwardForm.submit();
</script>
</body>
</html>
So in my app there's catalog trees (data comes from an Oracle DB) that I can edit. They are all stored in the same table and distinguished by a "catalog" column, and they are displayed as different catalog trees under different link. One catalog works just fine and I get what I want, but when I edit another one - which basically means updating some other rows in the same table like in the first catalog in the DB, I get a
org.apache.jasper.compiler.ParseException: /gliederung_post_action.jsp(0,7) Invalid directive
error. So how does that happen???