Questions tagged as 'java-ee'

1
answer

Get messages from properties file in select Spring label

I'm internationalizing a web application where I have a select with two options <td><form:label path="rol">Rol</form:label></td> <td><form:select path="rol"> <form:...
asked by 23.03.2018 / 09:58
1
answer

One-to-One Relationship in Spring JPA does not migrate the foreign key

I have two entities in my Spring Boot project that uses Spring JPA and a MySQL database with Hibernate. These two entities are related to a One to One relationship. The problem is that when I try to add a type of objects, the primary key of the...
asked by 24.11.2017 / 12:45
1
answer

THE ERROR "It was not expected / BIOCaptureFinger at this time." WHAT DO YOU NEED?

I am using the WebLogic server in JavaEE, specifically WebLogic 11gR1, I can raise the administration page of WebLogic "localhost: 7001 / console", but when I turn off and turn on the PC I can not access the domain I had created, I see the follo...
asked by 01.10.2017 / 23:41
1
answer

how to show all decimals of a division like 1/41 or 2/149 since I use BigDecimal and throw me error

   Exception in thread "main" java.lang.ArithmeticException:   Non-terminating decimal expansion; not exact decimal representable   result. It shows me this error when doing a division 1/41 and it results in 50 decimals since I...
asked by 15.04.2017 / 00:19
1
answer

Difference between DataSource and DriverManager

As the title says, I want to know what is the difference between DataSource and DriverManager in a web application using Tomcat. So far I know that DataSource serves as a pool of connections to a database while DriverMana...
asked by 19.09.2016 / 21:02
1
answer

2 listsItems fill in one from the other JSF

Good afternoon, I have 2 listItems the first is filled with the values Physical Person and Legal Person and the second is filled with the values DNI, PASSPORT I want at the time of choosing Physical Person in the first one, the second one ret...
asked by 23.08.2016 / 14:08
1
answer

"Can not find symbol" when calling a class from a JSP file

I make this call to the "CookieHandler" class from the start of the JSP: <% CookieHandler handler = new CookieHandler(); if(handler.checkLogged(request, response)){ %> It happens that I do not stop having this error, I do not...
asked by 08.09.2016 / 12:31
1
answer

Error: The module has not been deployed

I am reading this book about Java Swing and JEE, and I'm in chapter 9, in which you start to create a java web project, a database with a phone table, and the entity and session bean of telephone next to a .jsp simple form that uses a servlet...
asked by 27.04.2016 / 19:19
0
answers

Tomcat 9 WebXMLParseException with Spring 5

I've been trying to migrate an application from Tomcat 8.0.27 to Tomcat 9.0.12 to start using HTTPS / 2. The application has Spring 5.0 framework, these are the libraries I am using: <!-- https://mvnrepository.com/artifact/org.springframewo...
asked by 26.10.2018 / 08:57
0
answers

Problem when uploading image to server with Spring java

It's been 2 days without being able to solve this and I see no other recourse here, the problem is that I try to upload the image to server with the java spring framework and place the path of its location in the database, but when sending it I...
asked by 27.09.2018 / 18:01