[struts] ActionForm design question

Discussion in 'Java' started by Hamvil, Nov 4, 2005.

  1. Hamvil

    Hamvil Guest

    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.
     
    Hamvil, Nov 4, 2005
    #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. tom
    Replies:
    2
    Views:
    959
    code learner
    Dec 24, 2010
  2. Rode
    Replies:
    0
    Views:
    854
  3. PERCIVAL BRAGG
    Replies:
    0
    Views:
    551
    PERCIVAL BRAGG
    Oct 15, 2003
  4. Pratap Das
    Replies:
    2
    Views:
    2,036
    Pratap Das
    Apr 5, 2004
  5. sp

    Struts and actionForm

    sp, Jul 12, 2004, in forum: Java
    Replies:
    1
    Views:
    561
    Sudsy
    Jul 12, 2004
Loading...

Share This Page