lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di99...@student.bth.se
Subject Re: result.jsp in the webdemo
Date Thu, 10 Jul 2003 10:25:46 GMT
I choosed another variable name, then it worked, but why?

/Michelle


Quoting di99mwo@student.bth.se:

> Hello.
> 
> I'm trying to modify the result.jsp file in lucene webdemo. I can create a
> for-
> loop but can't declare any variable anywhere in the jsp file. 
> 
> I get the the following error:
> 
> Generated servlet error:
> C:\jakarta-tomcat-4.0.6
> \work\Standalone\localhost\luceneweb\results$jsp.java:250: Invalid expression
> 
> statement.
>                 		    int interface;	
>                 		    ^
> 
> 
> An error occurred between lines: 104 and 120 in the jsp file: /results.jsp
> 
> Generated servlet error:
> C:\jakarta-tomcat-4.0.6
> \work\Standalone\localhost\luceneweb\results$jsp.java:250: ';' expected.
>                 		    int interface;	
>                 		       ^
> 
> 
> An error occurred between lines: 104 and 120 in the jsp file: /results.jsp
> 
> Generated servlet error:
> C:\jakarta-tomcat-4.0.6
> \work\Standalone\localhost\luceneweb\results$jsp.java:250: '}' expected.
>                 		    int interface;	
>                 		       ^
> 
> 
> An error occurred between lines: 104 and 120 in the jsp file: /results.jsp
> 
> Generated servlet error:
> C:\jakarta-tomcat-4.0.6
> \work\Standalone\localhost\luceneweb\results$jsp.java:250: Identifier
> expected.
>                 		    int interface;	
>                 		                 ^
> 4 errors, 1 warning
> 
> 
> 
> thanks.
> 
> /Michelle 
> 
> 
> 
> 			
> 				
> 
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message