Hi All,

I use a bean in the application scope doing like this:

<jsp:useBean id="myBean" scope="application" type="my.pkg.MyBean"/>

then i set some properties using <jsp:setProperty> and then in scriplet:

<% myBean.executeSomething();%>

but a ServletException is thrown with this message:

(class: my/pkg/MyBean, method: executeSomething signature: ()V) Incompatible object 
argument for function call

Does anyone know what does it mean? I have searched google and it says that the 
container is creating the instance of my.pkg.MyBean incorrectly, but it seems a 
*little* weird. I am using Tomcat 4.1.27

Henrique Viecili

Reply via email to