Good idea but I don't think this is the problem. I needed more info like the previous message I posted on this subject.
The interface Product has the method getId().
The PetImpl class which is the actual bean on the page
implements Pet which extends Product. (a product taxonomy)
I believe the parser should use introspection to map id to a public
method getId().
It seems the parser is not following the inheritance chain.
The bean call is like this
<jsp:useBean id="product" type="com.ratex.common.Pet" scope="session"
/>
It does work in Resin.
What is really cool thing is that the controller jsp can check product
types and forward to
the correct view jsp.
It would also compile but the Orion parser prevents it from generating the java source.
Thanks for the interest.
Eric :-)
"Mistri, Anjana (NOW)" wrote:
Just checking, is id specified as private or protected?-----Original Message-----Hi,
From: Eric Richardson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 24, 2000 4:52 PM
To: Orion-Interest
Subject: JSP Parsing Bug
Has anyone else had this problem?500 Internal Server Error
Error parsing JSP page /pet_db.jsp line 85
Property 'id' in the 'com.ratex.common.Pet' type bean not found
interface Pet extends Product
and product has id property.
Magnus or Karl, any comment?
Eric :-)
p.s. 10rc1 on linux jdk 1.2.2
