[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
Re: compilation exception
Hi Kit,
Kit McCormick wrote:
> Thanks for the response. The '-' sign is a typo in my email; the code does
> have an '=' sign. Nonetheless, it turned out to be an ID 10 T error.
> I put the bean in a package: com.gims.HelloBean, and prepended the package
> name to the 'CLASS' parameter value and included the 'TYPE' parameter in
> the BEAN tag, like this:
>
> <bean name="hello" class="com.gims.HelloBean" TYPE="com.gims.HelloBean"
> introspect="yes" create="yes" scope="session">
>
> Now it works. I'm fairly certain the 'TYPE' parameter is what fixed it.
It is; GNUJSP does not recognize the CLASS attribute and assumes the
type is "Object" when it cannot find the TYPE attribute.
Regards, Vincent.