Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 38983 invoked by uid 500); 18 Dec 2001 10:23:11 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 38972 invoked from network); 18 Dec 2001 10:23:11 -0000 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.1 Date: Tue, 18 Dec 2001 11:23:14 +0100 From: "Johannes Schwarz" To: Subject: xsp while - for loop Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N My xsp - file compiles without any problems. But as soon as I put a while or a for loop inside the method or inside the - tag within the tag NAVIGATION my xsp file won't compile anymore. It seems that it's going into an infinite loop. Did anybody else have that problem or at least a solution? Best regards J. Schwarz java.util.* java.io.* String fileName=""; public File getFileName() { fileName = parameters.getParameter("fileName","unknown"); File back=null; try { back=new File(fileName); } catch (Exception e) { e.printStackTrace(); } return back; } for (int i=0;i<5;i++) ; //dosomething --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: