Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Struts & DTO

Thread Tools

Struts & DTO
Posts: n/a

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

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?
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing dto types across web services mike ASP .Net Web Services 0 05-03-2005 03:15 AM
Is it safe to point to Internet for locating struts DTD files in struts TLDs and XML files? Katie Wright Java 8 01-07-2005 03:37 PM
DAO/DTO HELP matt Java 1 08-16-2004 07:01 PM
Integrate a Struts app with a non-struts app jc1771 Java 0 12-28-2003 06:36 PM
Struts Installation - missing struts.tld??? Jason Us Java 0 10-03-2003 11:36 PM