Questions tagged as 'java'

0
answers

Problem in a class of "self-shrinking"

I asked how to implement this class # full screen startingtyping Asyoucansee,itisdecreasing,butwhatyouaretypingdoesnotappear,butitisthere.followscodefromthe"autocollapse" class link ** * DO WHAT YOU WANT TO PUBLIC...
asked by 16.06.2015 / 15:47
0
answers

Changing the background of the android via java

I have an application in mind, but I do not know how to do the main function of it. I need to change the background of the home Android system (not the application) through the application. Ex the user clicks a button and this button modifies...
asked by 17.06.2015 / 03:40
0
answers

How to return data with JSON?

I have the following code: wd.setUrl("http://www.cordeiroit.com.br/SOUPROGRESSO/Ctrl/ServerUsuario.php"); wd.setMethod("new-usuario"); wd.setName(campoNome.getText().toString()); wd.setCpf(campoCpf.getText().toString()); wd.setBairro(campoBai...
asked by 16.06.2015 / 00:43
1
answer

Execute external command in Java with syntax

Hello, I'm using a DOS file to unzip .zip files, it's UNZIP.EXE (DOS executable) itself. I am mounting the code as follows: Desktop.getDesktop().open(new File("e:\unzip.exe teste.zip" )); It does not work at all, it gives an error saying tha...
asked by 15.06.2015 / 03:03
0
answers

UrlRewriterFilter problem load css and js

I'm using taglib as a template to load header, body, and footer into my jsp pages. For friendly URLs I use UrlRewriteFilter. The problem is when I pass parameters in URl friendly, as it does not load the css and js files. The link page load...
asked by 12.06.2015 / 16:55
1
answer

NullPointerException on a non-null object [closed]

I'm doing a small project for graduation, in it I want to create a new character that has name , sex and class , I'm testing the program and is giving a very strange error. Here is the code: // classe de teste System.out.println("Digite...
asked by 15.06.2015 / 13:36
0
answers

How to read a PDF containing accented characters using iText?

I'm trying to read a PDF using this iText library, however, accented characters are ignored, I've already looked at the Project Encoding and it's like UTF-8 . PdfReader reader = new PdfReader("arquivo.pdf"); String conteudo = PdfTextExtr...
asked by 27.06.2015 / 17:08
0
answers

How to force session with Android?

I am having difficulty developing a part of my application. Come on. First of all I need to click a button and access a certain link and then the application will return me a PDF. This already exists through the browser. The link is this f...
asked by 05.06.2015 / 15:59
0
answers

Spring Security with JBoss causes 'Circular view path ...' error, what's wrong?

In an attempt to get Spring Security running with JBoss, based on the GS-Security-WEB example, I'm getting the following message when entering the URLs available for testing: LogOutput12:40:16,051 INFO [org.jboss.as.server.deployment] (MSC s...
asked by 04.06.2015 / 18:40
1
answer

First application using maven

In my application I am trying to use maven, but I am having some problems that may be related to configuration, when I will generate a JAR from the project or use some Run As option from the pom.xml file in the terminal the return is always: -...
asked by 15.07.2015 / 03:53