Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

invalid directive exception

658307Dec 3 2008 — edited Dec 10 2008
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???
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2009
Added on Dec 3 2008
5 comments
3,149 views