Questions tagged as 'java'

2
answers

Enable SSL3 in java

I have a program that connects to mailboxes, through IMAP , but there are some client boxes that, when the program tries to establish the connection, throws the following exception:    Server choose SSLv3, but that protocol version is not en...
asked by 16.05.2016 / 22:21
1
answer

How can I modify an xml file, delete and write a child, in java?

I have an eclipse project based on JAVA, in this project I have an XML file where I keep data from nursing staff, what I want is to eliminate a nurse (a child) from this file, I also want to write about this data . please give me examples, some...
asked by 12.06.2016 / 01:56
2
answers

Java delete some properties in the ResponseBody

I am using Java with Spring MVC and MyBatis to connect to the database. I have an account table and for some queries I need all the fields, but for others I need only some properties. For example, to show the basic information of the account...
asked by 27.07.2016 / 18:16
1
answer

Doubt with SetFocus ()

I have an exercise and it says that I have to use setFocus() to select the content of a table and to gain focus. Then use the selectAll() to select it. But I do not understand anything. Can someone explain to me with an example...
asked by 11.04.2016 / 18:28
1
answer

What is a mysql driver in java?

Could someone explain to me what exactly is a driver and what would be using it with mysql? It's been a while since I started watching JBDC videos and the word "Drivers" is constantly being used, and with Google's response, it's not enough fo...
asked by 01.04.2016 / 18:22
1
answer

How do you plan a good board?

I already wanted to make two games in java but I could not finish them because I had no idea how they were designed well. I have several questions, all of them more, pointing to the same side: 1. How do I design the board well? Is it done in...
asked by 18.03.2016 / 01:24
2
answers

Problem when creating query using hibernate

I am making the following query: @Override public List<Estudiante> buscarEstudiantes() { Session session = getSession(); Query query = session.createSQLQuery("from Estudiante"); return query.lis...
asked by 01.04.2016 / 18:43
3
answers

Change icon and return to it on an Android onClick

I am developing an android app. One of the images is a button that redirects to a certain task. I would like that when I click, for a second, it takes effect that it is pressed and returns to its normal state. I have already prepared the icon...
asked by 02.06.2016 / 12:36
1
answer

files * .do instead of jsp?

I am helping in the development of an application, made with java and jsp. The links appear as .do instead of .jsp, even though the files are .jsp. The most I could find is that it has to do with struts or something like that extension, but my q...
asked by 03.01.2019 / 13:24
1
answer

Error trying to create an NSD service

I am trying to create a service to connect to the Kore application. To create this service I was looking at the code of android developer . I have literally only followed the steps indicated on the page. Still, when I start my application, it s...
asked by 31.12.2018 / 19:20