cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Schwarz" <>
Subject xsp while - for loop
Date Tue, 18 Dec 2001 10:23:14 GMT
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 <xsp:logic> - 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

<?xml version="1.0" ?>
<xsp:page language="java" xmlns:xsp="">
               String fileName="";
   	public File getFileName()
   		fileName =
   		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: <>

View raw message