Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
    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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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
  • 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: 9615
16
Mac OS X Linux 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?
 
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:

https://coderanch.com/t/58230/Struts/implement-pojo-web-form-mapping
 
What are you doing? You are supposed to be reading this tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic