Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > [struts] ActionForm design question

Reply
Thread Tools

[struts] ActionForm design question

 
 
Hamvil
Guest
Posts: n/a
 
      11-04-2005
Hi,

I've wrote a java application (not a web application) which containg
some bean used extensively in the application.

Now I would like to reuse those bean inside a struts based web
application.

In struts a bean supporting a form must extend ActionForm. I would like
to reuse the beans written for the first application. Is it possible in
some way???

The only way that i saw is to use Bean.Utilis.copyProperties in order
to copy a bean into another.

 
Reply With Quote
 
 
 
Reply

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
struts question: ok to use actionform as model? tom Java 2 12-24-2010 04:10 PM
ActionForm with nested bean Jason Us Java 0 04-08-2004 01:00 PM
[Struts] Newbie - For ActionForm population, must I use Struts taglib? Pratap Das Java 2 04-05-2004 07:42 PM
Struts ActionForm set methods not being executed PERCIVAL BRAGG Java 0 10-15-2003 12:58 AM
Struts, Problems with 'indexed (nested) properties' in ActionForm Rode Java 0 10-09-2003 05:06 PM



Advertisments