Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 42
Android Google Web Toolkit Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Eric gave you a good answer in your previous post. Is there something you don't understand about his answer?
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:

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