|
All,
Does anyone know if JRun 2.3.3 build 157 supports declarations? I'm having
fits with the following declaration. The declaration and first 5 errors(of 288
total errors) are included. What's wierd is that if I remove this declaration,
no errors?
<%!
public static String obtainValue(String value) { System.out.println("BEAN.1"); Hashtable tempHash = ((Hashtable)tempVector.elementAt(row)); System.out.println("tempHash size=" + tempHash.size()); String tempString = ((String)tempHash.get(value)); System.out.println("BEAN.2"); row++; return tempString; } %> ERRORS:
com.livesoftware.scripting.CompilerException:
Found 288 syntax errors in "C:/JRun/jsm-default/services/jse/servlets/jsp/TestBean.java": 264. !
^ *** Syntax Error: } expected instead of this token 276. out.println(""); ^ *** Syntax Error: misplaced construct(s) 276. out.println(""); ^ *** Syntax Error: Unexpected symbol ignored 277. out.println(""); ^ *** Syntax Error: misplaced construct(s) 277. out.println(""); ^ *** Syntax Error: Unexpected symbol ignored John D. McDonald
CipherStream Systems Phone: 925.373.8700 Fax: 413.793.6603 email: [EMAIL PROTECTED] web: www.cipherstream.com ------------------------------------------------------- Secure E-Business Is Our Business ------------------------------------------------------- |
