Struts & DTO

Discussion in 'Java' started by roberto2312@hotmail.com, Apr 7, 2004.

  1. Guest

    Hi,

    can I define in "struts-config.xml" something like this:
    <form-bean name="singlePurchaseOrderBeanForm"
    type="org.apache.struts.action.DynaActionForm">
    <form-property name="DTOLine" type="test.DTOOrderLine" />
    </form-bean>
    ?

    I need to use direct DTO object to receive/view user
    inserted values. But... it doesn't works! :(

    In my JSP page I use:
    ....
    PN: <html:text name="DTOLine" property="partNumber" /><BR>
    ....

    but I obtain a "not found" "DTO line" exception.

    Any idea?
    TIA
    R.C.
     
    , Apr 7, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Katie Wright
    Replies:
    8
    Views:
    4,297
    Andrea Desole
    Jan 7, 2005
  2. Jason Us
    Replies:
    0
    Views:
    1,003
    Jason Us
    Oct 4, 2003
  3. jc1771
    Replies:
    0
    Views:
    419
    jc1771
    Dec 28, 2003
  4. matt

    DAO/DTO HELP

    matt, Aug 16, 2004, in forum: Java
    Replies:
    1
    Views:
    2,930
    Oscar kind
    Aug 16, 2004
  5. mike

    sharing dto types across web services

    mike, May 3, 2005, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    196
Loading...

Share This Page