Questions tagged as 'java'

0
answers

Content Management - Java Sax

[Java - Sax Parser] Good afternoon. If anyone can help me I'll be grateful. I need to mount an application that works as follows: If it finds the tag " classname ", and it has an attribute " type " with the value " M " or "...
asked by 14.04.2015 / 21:51
0
answers

Line graph does not render (p: lineChart) [closed]

xhtml code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns...
asked by 16.01.2015 / 19:58
0
answers

SQLite and Android database

Hello, I'm making a small app and I need to fetch data from the database and display it on the screen. DatabaseHelper.java public class DatabaseHelper extends SQLiteOpenHelper { private static final String BANCO_DADOS = "Nomes"; pri...
asked by 10.02.2015 / 03:47
0
answers

TimerTask with long intervals

I intend to develop an app that, when setting a particular time, scheduling a task with the timertask to run 50 minutes later and immediately after that 50 minutes, repeat for 50 minutes periods successively. But it happens that after 50 minutes...
asked by 12.02.2015 / 23:58
0
answers

How to generate an XML model from a SCHEMA XSD using JAXB?

I have a Schema .XSD and would like to generate an XML from this template. Below I have this code, however I am using the JLibs library. I wonder if it's possible to do something like the JAXB library. The XSD file is being passed as a parameter...
asked by 06.03.2015 / 15:51
0
answers

Java Serial Communication

I developed an application in Java that communicates with microcontrollers through serial ports, in tests performed in Windows everything went perfectly well but in Linux, more precisely in CentOS, the application is aborted by the VM and displa...
asked by 18.12.2014 / 18:34
0
answers

Error 404 Servlet [closed]

I have an error that is the following whenever I access the URL that my servlet had to answer it it presents me error 404, I am trying to access the servlet by that url: localhost: 8080 / project / a Here is the source code for the servlet:...
asked by 17.02.2015 / 17:12
1
answer

How to create a vector that displays the frequency of each element in an array?

"Write a Freq. method that receives data from an array A that has integers between 0 and 0, generates a vector with the occurrences of each integer between 0 and x. that takes a vector of integers and returns the largest element of the vector...
asked by 07.12.2014 / 19:16
0
answers

How do I get content from all of a user's emails in the Gmail API?

I'm making an application that should receive Gmail user emails using the Gmail API. However, I must receive the data of each email as: content, sender, subject and date of receipt, but I can not do it. Here is the snippet I took from Google...
asked by 05.12.2014 / 01:30
0
answers

Tomcat application + jsf + hibernate = Slow to initialize [closed]

My application is running very slowly. Follow the eclipse log where it takes the longest:   INFO: HHH000397: Using ASTQueryTranslatorFactory     
asked by 05.03.2015 / 12:52