Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

Looking for POJO to web form and webform to POJO examples...

 
Jochen Szostek
Ranch Hand
Posts: 42
Android Google Web Toolkit Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all,

I'm looking for struts2 examples where the contents of a web form are synchronized to the values of a pojo and vice versa.

This is possible with struts, right?

Do you need to define some kind of mapping for this to work, or is it possible to e.g. create a user object with a name and pasword (string) field starting from a login form? (or is there any other way to create java objects and the corresponding web forms to manage them at the same time? (so you don't have to program them both))

Thanks!
 
Joe Ess
Bartender
Pie
Posts: 9264
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Eric gave you a good answer in your previous post. Is there something you don't understand about his answer?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Report post to moderator
Joe is right. If you have follow-up questions, please post them in the original thread.

I'm closing this topic, but anyone who wishes to respond may do so in the thread below:

http://www.coderanch.com/t/58230/Struts/implement-pojo-web-form-mapping
 
    Bookmark Topic Watch Topic
  • New Topic