I choosed another variable name, then it worked, but why?

/Michelle


Quoting [EMAIL PROTECTED]:

> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to