Hello everyone...
I have a struts application that I am building which contains, among others
Customers, Orders & OrderItems. I have created an Action which is called
'OrderEditAction' and an Action called 'OrderItemEditAction'. In this
business model, not unlike other business models, the orderItems are
dependant on the orders.

The page to display a given order also contains a table containing a list of
associated orderItems. Within the table, I created a link which points to an
Action which gets the selected orderItem and forwards to an orderItemForm
object. Naturally, this consists of an ActionForm bean and page called
'orderItem.jsp'.

FYI: there is a similar dependency between Customer and Order in this
application.

I am dumping debugging notes into the system log every step of the way and I
can see that the 'orderItemForm' ActionForm is being loaded with the
appropriate attributes from the orderItem bean within the
OrderItemEditAction. Finally, I can see in my log that the 'success' forward
mapping is being called.

My problem is that I am getting an 'Exception thrown processing JSP page'.

Indicating 'javax.servlet.jsp.JspException: Cannot retrieve definition for
form bean orderItemForm'

Within the stackTraceDump I can see that the is occurring at:
     at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:725)
             at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:441)
     .....

I hope someone can help...

Thank you.

Thomas Peters

Senior Consultant
Aidera Solutions

Telephone: 603-888-7700
Mobile: 603-566-5406

Reply via email to