[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
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA


This thread has been viewed 229 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 15, 2018 01:52:46.