You're probably using JSP 0.92. Go to the Allaire Knowledge Base and look
up JSP under JRun. You need the K.B. Article that explains how to change
your JSP version to 1.0.
Scott Stirling
West Newton, MA
-----Original Message-----
From: Mike Chambers
To: [EMAIL PROTECTED]
Sent: 1/23/00 9:23 PM
Subject: [JSP-INTEREST] Can't declare page wide variables with JRUN
If i try the code included below i get the following error:
<%! char c = 0; %>
-----------begin error------
500 internal server error
com.livesoftware.scripting.CompilerException:
Found 1 syntax error in
"C:/JRun/jsm-default/services/jseweb/servlets/jsp/test.java":
67. ! char c = 0;
^
*** Syntax Error: Unexpected symbol ignored
--------------end error---------------------
If i remove the ! then the page will compile and work, but the variable
'c'
is not availible.
I am using JRUN (which i downloaded today). Anyone have any ideas on
what i
am doing wrong?
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html