Questions tagged as 'java'

1
answer

JSP registration in MySQL

I am trying to make a form using JSP and insert the values using MySQL. The problem I have is that if someone tries to register and the user exists tell me: "The user already exists". It does not work for me, I do not know, but somehow it does n...
asked by 23.05.2018 / 22:52
0
answers

JSP problems using cp1252

Exceptions occurred while formatting documents Exception occurred while formatting document /armarios/WebContent/css/material.css Some characters can not be mapped using "Cp1252" character encoding. Either change the encoding or remove the chara...
asked by 22.05.2018 / 22:07
0
answers

Problem with Receiving Bluetooth Data?

I have an App that connects to bluetooth with another bluetooth device but when receiving the data the following happens: I receive the data cut for example: Recibo: Primer Dato Pero Logro Recibir: imer Dato In other words, missing c...
asked by 22.05.2018 / 23:59
0
answers

HSSFWorkbook and FileOutputStream java

Good I have a problem in a code of java that I have with these two class when writing in the file it is eliminated what I had before somebody knows some solution not to overwrite the excel file in java, thanks and a greeting. dbf = javax.xml.p...
asked by 22.05.2018 / 11:21
0
answers

MyBatis resultType TreeMap - Does not show Null

I have a select with more than 200 columns, so the resultType I use is a TreeMap. <select id="getUsuarios" resultType="java.util.TreeMap"> SELECT * FROM USUARIOS </select> The structure of the table would look like this: I...
asked by 22.05.2018 / 14:06
0
answers

Error java.lang.IllegalArgumentException: An instance of a null PK has been incorrectly provided for this find operation

Create a java application that uses jpa and works correctly. Then create an executable with the Launch4j and later an installer with Inno Setup. I install in the machine where I made the development and it works. when wanting to install it in an...
asked by 22.05.2018 / 14:49
0
answers

How do I use the queryForAll () method of OrmLite on Android?

I have created an entity, but at the time of doing the foreach it indicates that they are not the required types Dao dao; try { dao = getHelper().getPersonaDao(); for ( Persona persona:dao.queryForAll()){...
asked by 22.05.2018 / 13:11
0
answers

How to update application.properties at run time SpringBoot

I have a requirement in an API that I wrote in Spring Boot, where I need to read an id from the application.properties of the project and make a query to the database where the last field that has this query is the new ID that I need put in the...
asked by 22.05.2018 / 20:59
0
answers

Java - Is it possible to inject html into a web with webView (Android)

I know that it is possible to inject CSS into a page (online) to modify after it finishes loading. I've already done it this way. @Override public void onPageFinished(WebView view, String url) { super.onPageFinished(view, url);...
asked by 22.05.2018 / 20:30
1
answer

Servlet not to return to the previous page

Hi, I'm trying to get the information from the previous page (you show me the menu with the data loaded) to the login no longer appears and redirect me to the login I already managed to not enter without a login but when I went back to the pa...
asked by 23.05.2018 / 16:26