Questions tagged as 'java'

1
answer

Problems sending email with JavaMail

I'm developing a Java Web application with PrimeFaces in which I use javaMail to send mail with user information, but it's giving error. The Bean: @Named @RequestScoped public class EnvioEmailBean implements Serializable { private stat...
asked by 03.02.2018 / 20:19
0
answers

Doubt in Webview with Textfield

When I put a TextField, a line appears at the time of compiling, and when you tap the line, the keyboard appears to type and you look at the text being typed on the line. But when I use a webview, if I put a textfield anywhere, when I tap the...
asked by 03.02.2018 / 23:40
0
answers

Angular nulling data NULL

Already checked here Problem in request with jQuery ($ .ajax) and Angular ($ http) However, I'm not referring to sending my json form data to a form in html, dry the error   Possible unhandled rejection: {"data": "", "status": 406, "c...
asked by 04.02.2018 / 09:16
0
answers

Listeners (Listener) for changes to Google Maps v2 Android Camera Zoom?

I'm using the CameraPosition () to get the Camera Zoom in Google Maps mMap.getCameraPosition().zoom It works perfectly when calling from somewhere in the code, but I would like to create a Listener to change the Camera Zoom either by gest...
asked by 03.02.2018 / 04:29
1
answer

Make a downloadable file available in an API that returns JSON

Hello, I'm developing an API in Java. It is basically a java servlet that returns content in json (application / json). With a tomcat server. One of the answer fields is supposed to be a link to downloading a .txt file. I do not know how....
asked by 06.02.2018 / 18:03
0
answers

JavaScript validation error with JSF

Next, I found a javaScript file on the web with lists of Brazilian states and cities. I tried playing it here in my code, but I do not understand much of javaScript. Can you tell where the error comes from? javaScript file: /** * Origina...
asked by 27.01.2018 / 20:06
0
answers

How to pass a selected image from gallery and set in imageView to PdfDocumet or iText?

Good morning! How to pass a selected image from gallery and set in imageview to PdfDocumet or iText? I'm trying to create a form type app, I've already been able to pass the texts and save as pdf, in this document I have an image that I g...
asked by 27.01.2018 / 14:21
0
answers

MyApp has stoped

Android app starter asking for help. Coincidentally, after running a direct app on my phone, I could not do the same thing in the emulator. Follow Logcat: 01-25 15:55:24.348 15565-15565/com.sdr.flappybird E/AndroidRuntime: FATAL EXCEPTION:...
asked by 25.01.2018 / 22:11
1
answer

Application Installation Failed

After using Android Studio for the first time on a mobile phone, I was not able to use the emulator normally. The message below appears. Anyone help me please? "Failed to establish session. It is possible that this issue is resolved by uninst...
asked by 25.01.2018 / 16:03
1
answer

This web container has not yet started

My Java Web application, using Hibernate, published on a Glassfish server and using MySql database published in Hostgator is constantly causing the following error: [2018-01-31T11:51:15.852-0200] [glassfish 4.0] [WARNING] [] [com.mchange.v2.re...
asked by 31.01.2018 / 16:14