Questions tagged as 'java'

2
answers

JSP import all the files in a directory

Is it possible to import all files in a directory with just one call working with JSP ? Today I have the following: <script src="../resources/js/angular/directive/layout/mensagem.js" charset="utf-8"></script> <script s...
asked by 14.03.2016 / 17:06
0
answers

Problems with encoding in java

I have a classic encoding problem, I did several tests, but nothing solved. The problem occurs only with data brought from the database in Sql Server, with the fixed text on the screen is working perfectly. I tried:    add in jsp:
asked by 14.03.2016 / 21:52
0
answers

barcode on android bluetooh printer

I can print anything but the barcode, I currently use: byte[] cmd = new byte[3]; cmd[0] = 0x1b; cmd[1] = 0x21; cmd[2] &= 0xEF; out.write(cmd); out.write("Mensagem de t...
asked by 28.02.2016 / 23:15
0
answers

JSP does not display images or find CSS and Javascript

Good evening, I have a strange problem, I'm trying to display images, map CSS and JS in jsp and it's not working, I just can not find it, the strangest thing is that I'm using the cst tag: "jstl / core" $ {pageContext.request.contextPath} and...
asked by 29.02.2016 / 23:11
0
answers

JSF Session: login module

I have a problem, with my session, hj I make 2 connections, one in my manager database to get the ip and the location of the client database, and another in the client database with the ip and the location of the database, until then quiet, the...
asked by 19.02.2016 / 14:29
2
answers

How do I hide a URL that appears after my domain?

I have a Java application using Spring MVC. Let's suppose that my application has the domain www.mysite.com As the user browses, other urls are generated, for example: www.meusistema.com.br/acessarConta www.meusistema.com.br/questros...
asked by 19.02.2016 / 20:13
0
answers

Take AWS image and attach to email?

Is it possible to 'upar' an image in aws, and then attach it to an email? I thought of two things: If there is a way to recover the file directly from the aws server (as if it were my pc, for example, where I look for the image and attachment),...
asked by 23.03.2016 / 21:20
0
answers

Null field error - Java Web

In the project I am studying is based on the book "Programming Java for Web" where a strange error happens, then the error appears after filling the entire form, where it appears in the log that the user field is null. I made changes as the book...
asked by 23.03.2016 / 01:44
1
answer

Problem with SplashScreen at IONIC

Has anyone ever had an error similar to this one when trying to give Build in the application? I thought it was the SpalshScreen plugin that is automatically installed ... I upgraded .. It did not work ... I thought it was the Java vers...
asked by 23.02.2016 / 22:24
1
answer

How to use JUnit with Demoiselle 2.4.2?

Hello I have a project with the following profile: Eclipse Moon Java 6 JSF 2.2 / Primefaces 5.3 JBoss 7 Demoiselle 2.4.2. The application already works, the problem is in the execution of JUnit 4.12 test cases . The test case...
asked by 18.02.2016 / 16:04