Questions tagged as 'java-ee'

1
answer

Two war applications can run simultaneously in the same root context

I want my application to run in a different context than the name of the project, for that I found this solution in the forum Change the context ( URL Root) of a web project in eclipse that's fine, but my question is if I have two independent...
asked by 24.10.2018 / 18:12
1
answer

Deployment of EAR in TomEE

Beginning to explore TomEE, the following question arises: to install an EAR according to what the documentation says, you must upload the EAR to the "apps" folder and say that you have to modify the tomee.xml so that the folder of deploy be "ap...
asked by 24.04.2018 / 15:37
0
answers

Calendar with primefaces does not deploy

Hi, I would like to know if anyone knows why the primeface calendar does not open when I click on its field. The image shows how the field stays when clicking on it. the code of the page is the following: <ui:define name="cuerpo"&g...
asked by 31.03.2018 / 17:13
0
answers

I need to export an NVARCHAR from JAVA in excel

I am using the sql server database in which I am using a cursor. I need to read this NVARCHAR from java so I can export it in excel from java. Take into consideration: that these columns of my Excel will be added more in the future. e...
asked by 09.03.2018 / 20:43
1
answer

@OneToOne Spring Boot Jpa

I have the following class: @Entity() @Table(name = "user") public class UserBean extends BaseEntity implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column priva...
asked by 06.06.2018 / 11:02
1
answer

Paginate in java ee jsf from data or files entered by the user

The specific query is: we are using JSF with Framework Primefaces It turns out that we need to display on the screen Paginated Data We have a list of objects and each object has a TITLE and CONTENT, that we owe show in some component ONE object...
asked by 05.09.2017 / 01:35
0
answers

LinkageError in Websphere (IIOMetadata.getAsTree)

I have a web application mounted on a Websphere, in which I export to excel using the mythical poi library. And I missed a Linkage error when executing the next sentence, it is just in the line of pict.resize (); Picture pict = drawing.create...
asked by 21.08.2017 / 13:59
2
answers

Format of dates in Java

I have a problem with the format of the date in the java language, I want to format it in DD / MM / YYYY but it does not allow me, I format it as MM / DD / YYYY I have tried with the    new SimpleDateFormat ("dd / MM / yyyy"). format (get...
asked by 03.05.2017 / 18:11
0
answers

Download files greater than 10MB with java ee 7 and tomcat

I hope you can help me, I have a web app with java EE 7 on an apache tomcat 8.0.5 server, the problem is that when downloading a file from the interface to do it, it does not, download the file but to the time to go by 10MB, the download is cut,...
asked by 01.03.2017 / 16:40
0
answers

Custom label attribute required

When in a custom tag the value of attribute required , is true (mandatory) but not sent, marks error in runtime or translation. <taglib xmlns = "http://java.sun.com/xml/ns/j2ee" xmlns:xsi = "http://www.w3.org/2001/XM...
asked by 11.01.2017 / 17:53