Questions tagged as 'java'

1
answer

ViewFlipper does not detect MotionEvent after inserting ScrollView in it

Use ViewFlipper with 4 "pages". It worked, until I inserted ScrollView into each of the pages. How can I resolve?     
asked by 05.10.2015 / 18:58
3
answers

Problem in file OiMundoServlet.java - #algaworks

I'm following the E-book "Java EE7 with JSF, PrimeFaces and CDI". I created the Maven project, I edited the file pom.xml as the handbook guides, when I created the OiMundoServlet.java sample file, I noticed that errors appeared in...
asked by 05.10.2015 / 23:32
0
answers

Use java to connect in WebService Magento API SOAP v1?

On the official website, link , there is a quote that says that java is more compatible when using a soap v2:   As of v1.3, you may also use the following URL to access the Magento API v2, which has been added to improve compatibility with J...
asked by 31.08.2015 / 08:22
1
answer

Problem with rest controller in Spring

I configured Spring 4 to work without xml. I created a simple @RestController , like this: @RestController public class JogadorRest { @RequestMapping("/ola/{jogador}") public Jogador message(@PathVariable String jogador) {...
asked by 28.08.2015 / 16:17
1
answer

InvocationTargetException in dynamic method

I have a very strange situation. I get the following arguments from my Bean : #{segurancaBean.callSubAcaoMethod(subAcao, moduloBean.class.name, modulo.id)} This method is dynamic: public void callSubAcaoMethod(Acao acao, String b...
asked by 25.08.2015 / 13:34
1
answer

Problem with JPQL using JSF

I'm following a Java EE 7 book with JSF, PrimeFaces and CDI by Thiago Farias. In my persistence.xml, following the book, I have only the definition of my datasource, as follows: <?xml version="1.0" encoding="UTF-8"?> <persistence v...
asked by 13.09.2015 / 03:23
0
answers

Http Client and Async Task - ANDROID

Talk to people, I wonder if anyone can help me, I'm new to mobile I'm starting with Android. I am making a request with HTTP CLIENT to return the entire value of the page, whether it's web or my host. But before that I was making the call from m...
asked by 19.10.2015 / 13:10
1
answer

Refresh datatable when performing autocomplete search

Good morning everyone .. Could anyone get a question? Good is this, I have a component of primefaces autocomplete and a datatable, however when I perform a autocomplete search, it does not update my datatable, how do I do this? Below is my au...
asked by 27.08.2015 / 16:11
0
answers

Doubt creating a web application screen

Hello, I'm new to the program branch. I'm finishing the course now. I would like to know if a web application has a strip that browser bar where you type the url command and the other where it updates the page. Thanks for the help.     
asked by 28.08.2015 / 02:44
0
answers

Exception in thread "main" java.lang.NullPointerException after first run

exercicio02.CaracterSort.buscarJogador(CaracterSort.java:116) at exercicio02.CaracterSort.cadastro(CaracterSort.java:110) at exercicio02.CaracterSort.main(CaracterSort.java:39) When I run the code the first time it runs beauty. But in...
asked by 19.09.2015 / 22:05