Questions tagged as 'java-ee'

1
answer

HTTP Status 405 - Method Not Allowed in method @DELETE

I created a webservice that accesses a MySQL database, but I can not delete records, I always get the following return: HTTP Status 405 - Method Not Allowed . The method received in the request-line is known by the origin server but not supp...
asked by 20.06.2018 / 12:40
1
answer

How to list all JSONArray data using JSF?

I'm having trouble listing all the JsonArray data in a JSF , always only the last value, since when I use System.out.println(variavel) I can list everything without problems. JSF page that needs to receive the data <?xml v...
asked by 13.04.2018 / 01:09
2
answers

How to enable and disable an input of type text after a selected value in the combobox

My jQuery < script > $(document).ready(function() { var tipo = $("#idTipoParticipante option:selected").text(); if (tipo == 'Personagem') { $("#enable").click(function() { // habilitando...
asked by 08.06.2016 / 11:01
1
answer

I can not register data using webservice Rest JAVA

When registering data in my database using webservice the following error occurs. Sending 'POST' request to URL : http://localhost:8080/FazendaWS/webresources/fazenda/Usuario/inserir Post parameters : {"login":"felipe10","senha":"1234","email"...
asked by 03.02.2018 / 20:41
1
answer

How to use MySql in Java EE?

I have an application in java (desktop) that does some operations on writes the logs to a table in MySql, I need to make a page that will display this log. I did some testing, but I did not succeed. I'm using Tomcat 9 and eclipse to run....
asked by 27.12.2017 / 17:32
1
answer

Send login and password in JavaMail email

I'm developing a web application using jsp and servlet and I would like it when sending the email it passes an image and the login and password but the email only send the image and does not send the login and password. / p> Image with error...
asked by 11.01.2018 / 02:53
1
answer

How do I make a list and change results using javaEE

I have an object called (Bank) that has several accounts, with balance in these accounts I make payments of several expenses. What I want is to get all the expenses paid and to write down the bank accounts in a single bank transaction, but I can...
asked by 12.12.2017 / 13:22
2
answers

No result when sending data from a form in JSP

I'm trying to make a mini-login screen, grab the data from the compare form and then redirect it to a JSP page. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title...
asked by 23.11.2017 / 23:07
1
answer

Difficulty in generating a JSON object in the correct order

I'm trying to generate a JSON object by following this template: { "schemas": [ "urn:ietf:params:scim:schemas:extension:oracle:2.0:OIG:User", "urn:ietf:params:scim:schemas:core:2.0:User", "urn:ietf:params:scim:sch...
asked by 22.11.2017 / 17:25
1
answer

Parameter passing via AJAX

I am developing the customer registration part of my application and are registering in the database normally, but I would like that when I register and be redirected to page ConfirmacaoCadastro.jsp it would take the email that I passed b...
asked by 25.10.2017 / 00:42