JRun 2.3
RedHat Linux 5.2 with kernel 2.2.6
Apache 1.3.3
JDK1.2

I create this simple bean:
public class prova {
 public String getPippo () {
  return "pipponzolo";
 }
}

which is used in this JSP page:
<html>

<USEBEAN NAME="b" TYPE="prova" LIFESPAN="page">
</USEBEAN>

<body>
<DISPLAY PROPERTY="b:Pippo">


</body>
</html>


Well (not too much...). When I request the JSP page, I get:

java.lang.ClassCastException: prova
        at jsp.prova.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at com.livesoftware.jrun.plugins.jsp.JSPCore.runServlet(Compiled
Code)
        at com.livesoftware.jrun.plugins.jsp.JSP.callPage(Compiled Code)
        at com.livesoftware.jrun.plugins.jsp.JSP.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at com.livesoftware.jrun.JRun.runServlet(Compiled Code)
        at com.livesoftware.jrun.JRunGeneric.handleConnection(Compiled
Code)
        at
com.livesoftware.jrun.JRunGeneric.handleProxyConnection(Compiled Code)
        at
com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(Compiled
Code)
        at
com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.java)

on the client side.

Of sure I tried to restart the JRun server, and put the bean class file
in the jsm_default/classes, but it seeems
doesn't work.

Any idea?

--
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".

Reply via email to