[Logo]
Forums Register Login
Mapping between form and entity
I have a form the create a new user but somehow it gets mapped wrong.
I used the same base in an other project and there it works great.

Error:


Controller:


Form:


Entity:


At first i thought the problem was I use a datetype in my form and a localdate in my entity, so I parse it in de constructor.
Then I thought maybe he makes a problem of the numbertype in my form, so I changed it to text and parse that to.
On clientside I get no error except for the whitepage and the 400.
On serverside I get:

but I think that's caused cause the server expect to get a memberobject.
I also didn't know where to post this question, but since the form isn't really jsp, I posted it here.
Any tips are welcome
That feels good. Thanks. Here's a tiny ad:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS


This thread has been viewed 72 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 24, 2018 21:09:14.