Questions tagged as 'java'

0
answers

How to save values from a vector in a database?

I'm creating an Android app for tcc. I have 3 vectors: coorx[i]; coory[i]; busy[i] . This busy vector is not fixed, so the values have changed according to what the user requests. So I would have to save the value of that busy in a databas...
asked by 07.07.2017 / 00:05
1
answer

Application with Spring + BootStrap with problem to find contextPath and apply CSS

The page is working normally, but CSS is not being applied, as images within the resources are not being localized. Here are methods of the configuration class to locate resources, and it does not work. @Override public void addResourceHandler...
asked by 06.07.2017 / 21:38
0
answers

GlassFish Duplicating Directory

When saving a photo, instead of creating the directory it ends up doubling, apparently it puts the first directory of the Glassfish server and in the other one that I mentioned, being a layman I can not identify the error, can you see the error?...
asked by 07.07.2017 / 00:42
1
answer

Hibernate does not generate the database and the tables in mysql

I'm having problems with my project, about setting up the bank together with the tables. jul 06, 2017 7:19:21 PM org.hibernate.Version logVersion INFO: HHH000412: Hibernate Core {5.2.10.Final} jul 06, 2017 7:19:21 PM org.hibernate.cfg.Environ...
asked by 07.07.2017 / 00:30
1
answer

Redirect DDNS to Tomcat

I created a free DDNS in Winco and wanted to know how to redirect the same to an application in Tomcat. At the moment when I access the DDNS, it redirects to the page of my modem.     
asked by 07.07.2017 / 05:14
0
answers

Doubts how to get the answer (Java)

Friends, can you get the response of this request through a GET or POST ? The page is: link What I need is to get the page that is generated when it fills in the access key field and clicks the full query button. Thanks f...
asked by 05.07.2017 / 21:27
1
answer

Image upload with Spring and UIkit

Dear implementing upload in my project, I was guided by the Algaworks Brewer project (uploads the beer photo), using a front-end framework UIkit The upload is being done, so I can see that in a folder with the name "null" is serving as the loc...
asked by 19.07.2017 / 00:46
0
answers

How to access the showCallScreenWithDialpad method?

I'm not able to access the showCallScreenWithDialpad method of the com.android.internal.telephony.ITelephony.AIDL class. I've already tried reflection and I could not. You can not instantiate the class ITelephony$Stub...
asked by 01.07.2017 / 03:05
0
answers

Socket with JSON in java

Good night everyone. I have a problem, in case I have a software that runs on port 3333 on a particular computer, and it has an api, but I need to recover it through another computer and get the array using the GSON library Google. Below my c...
asked by 01.07.2017 / 03:39
1
answer

Problems with CDI + Weld on Wildfly

I'm trying to create a EntityManagerProducer and it seems like in the examples found on the internet something very simple, but it's not being. Then it concludes that I'm doing something wrong following my coding and configuration. Ah...
asked by 30.06.2017 / 19:06