File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can action work well without formbean?

 
charlse li
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1..i don't know whether the action can work well without formbean?

2..in any bean ,can we pass formbean to it ?
 
Junilu Lacar
Bartender
Pie
Posts: 6548
22
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1..i don't know whether the action can work well without formbean?

Yes, you can create an Action that does not make use of an ActionForm.

2..in any bean ,can we pass formbean to it ?

Yes, you can pass a form bean to any other class but be sure to keep the MVC pattern in mind. Passing a form bean around indiscriminately can lead to bad designs.
 
charlse li
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
many thanks !
nice to meet you,,,i am from China,what about you?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic