Posts by Sabaum • 71 points
4 posts
-
1
votes1
answer128
viewsA: Change a record with a REST Webservice
Well, as you didn’t specify, I’ll start from the premise that you are using JAX-RS in your Controller. When vc does not specify the type of parameter, JAX understands that you want to use it as the…
-
1
votes1
answer42
viewsA: Force the user to type enter
Change the first sc.next() where you capture the student’s name, to sc.nextLine() That should work.
-
0
votes1
answer299
viewsA: Problems converting date to Calendar
Actually, what you’re converting is from String to Calendar. As much as in your jsp it is type = date, what comes to spring is a String. I honestly can’t think of a useful use for the Calendar class…
-
2
votes1
answer111
viewsA: Java code error read GSON: java.lang.Nullpointerexception
Since you did not state which line 61 is, and also did not initialize the Local, I’m going to assume that line 61 is the one where the first line of this type is. The solution is to initialize…