check <html:form>. action name should be representing the action mapping in
struts-config.xml.


Easy way to do is, view the source of the page displayed. Check for the form
tag. See what the formbean is 

hope this helps



-----Original Message-----
From: kamakshya mishra [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 8:14 AM
To: [EMAIL PROTECTED]
Subject: "No bean specified" error



Hi,

 I have this line in my jsp 

 <table>

      <logic:iterate id="courseDetailsLocal" name="employeeDetailsForm"
property="courseDetailsArray" indexId="ctr">

        <tr>  

          <td><html:text name="employeeDetailsForm" property='<%=
"courseDetails[" + ctr + "].name" %>'/></td>

        </tr>

      </logic:iterate>

    </table>

 When I am submitting the form it gives me the error
java.lang.IllegalArgumentException: No bean specified

 Could anyone please help me on this?

 The EmployeeDetailsForm has this code

 public class EmployeeDetailsForm extends ActionForm

{

private CourseDetailsForm courseDetailsFormArray[] = new
CourseDetailsForm[2];

 public void setCourseDetails(int iIndex, CourseDetailsForm
courseDetailsForm)

      {

           courseDetailsFormArray[iIndex] = courseDetailsForm; 

      }

 

public CourseDetailsForm getCourseDetails(int iIndex)

      {

            return courseDetailsFormArray[iIndex]; 

      }

       public CourseDetailsForm[] getCourseDetailsArray()

      {

            return courseDetailsFormArray; 

      }

 

KP


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

____________________________________________________
This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst & Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to