In short:
JRun 2.3
RedHat Linux 5.2 with kernel 2.2.6
Apache 1.3.3
JDK1.2
JSP 0.92 impl.
Bean+JSP with ServetExec => OK
Bean+JRUN with ServetExec => KO :-(
--------------
More longer:
I've created a set of bean for publishing a database on the web;
I've developed it with Sun's ServletExec and it' ok.
When I try to run it with JRun i get various messages:
1) the JRun seems to restrictive about the Exception that a method
could thrown. I mean, if a method declares to throw
java.SQLException,
JRun (javac) complains that that Exception hava to been catched or
declared in the thrown clause of the servlet method
But this doesn't matter 'cause I've yet worked it out.
2) THIS IS THE QUESTION:
extract from my JSP page:
<USEBEAN NAME="elCentraline" TYPE="ismaa.it.Meteo.JSP.Query"
LIFESPAN="page">
<SETONCREATE BEANPROPERTY="strSQLStmt" VALUE="select id, nome from
centraline"
</USEBEAN>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<meta name="Author" content="Cognome">M
<meta name="GENERATOR" content="Mozilla/4.5 [en] (WinNT; I)
[Netscape]">
<title>Definizione query</title>M
</head>M
<body>M
<LOOP PROPERTY="elCentraline:Record" PROPERTYELEMENT="j">M
<LOOP PROPERTY="elCentraline:Field" PROPERTYELEMENT="i">
<DISPLAY PROPERTY="i">
</LOOP>
</LOOP>M
AND THE ERROR THAT I GET ON THE CLIENT SIDE:
usr/local/jrun/jsm-default/services/jse/servlets/jsp/pq.java, line 103:
[] can only be applied to arrays. It can't be applied to
ismaa.it.Meteo.JSP.Query.
Object[] i =
JSP.getIndexedProps(elCentraline[jsp_array_idx0],"Field");
Anyone of you had same problems?
--
Roberto Torresani
---------------------------------------
Informatica e Statistica Applicate
Istituto Agrario di S.Michele all'Adige
Via E.Mach, 1
38010 S.Michele a/Adige - TN - ITALY
---------------------------------------
Tel. 0461/615230 - Fax. 0461/650872
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".