Forums Register Login

form select option string doesnt bind when sending http post

+Pie Number of slices to send: Send

When i send my User object to the Rest Server app i get the username and the password but the client type which choosen from the select login.component.html gives me null


The debug window displays the user json object currectly
but still getting clientType=null
and not my chosen value from the select

and i get this exception

Inside login user is User [username=admin, password=1234555, clientType=null]
09, 2016 10:50:10 AM jul com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException
SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
java.lang.NullPointerException

login.component.html



login.component.ts



on the web service rest app






User.java


Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 497 times.
Similar Threads
JSF Login issue: automatic login with an user without fill username/password when refresh login page
Enterprise application architecture
Register user problem in JSP and Servlet Project
sso(my app) 1stuser login and logout 2nd user login it show Connected users:1st login userinfo
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 04:33:20.