Posts by CleitonCardoso • 41 points
5 posts
-
1
votes2
answers1511
viewsA: Reading data from a Java file
Fala, Rafael. Do you already have the text saved in some Java data structure? If you have a stream with the content you can search how to turn into String. If you have a string with the content you…
-
0
votes2
answers523
viewsA: Consume PHP Webservice using Java/Android
Basically, you will need to run calls via HTTP pro web address that is running the webservice application. You can call the webservice manually, using a tool like Curl, Postman, etc, to better…
-
1
votes4
answers1960
viewsA: Back position in data JSON format or list with Python
Hi, I’m a Java programmer, but I believe this line of reasoning works for python... 1 - You need to transform this JSON into a python data structure, that is, an object array; 2 - Having an array of…
-
0
votes3
answers720
viewsA: Nullpointerexception Java JPA CDI Tomcat
If you are trying to use the main method will not work! Because: You’re using a resource called CDI, which is basically a module running in your application container that whenever an instance…
-
2
votes3
answers227
viewsA: How to store the number of rows found from a Mysql query in a variable
Invert the parameters in the function call: Thereof $result = mysql_query($dbc, $query); For that reason $result = mysql_query($query, $dbc); I didn’t get to test it, but check it out.…