Questions tagged as 'java-ee'

2
answers

I can not export invoice to the txt file

Dear Friends: I'm trying to export my invoice to the txt file to be printed on the dot matrix printer from javaweb JSF (JavaFaces) and I get a message error: javax.faces.el.EvaluationException: net.sf.jasperreports.engine.JRRuntimeException: Cha...
asked by 11.01.2018 / 18:06
1
answer

How can I link two maven projects to use the classes from one to the other?

            com.controller             EJBCARGA_ATM_REMOTO_MAVEN             1.0-SNAPSHOT             runtime             jar          I have tried to include it that way, but it gives me an error when building the projects with the dependenci...
asked by 05.01.2018 / 18:33
0
answers

Error: "The type java.io.ObjectInputStream can not be resolved. Is it indirectly referenced from required .class files?

When I run my Servlet in Eclipse , this error occurs:    "The type java.io.ObjectInputStream can not be resolved. It is indirectly referenced from required .class files" For the web application to be executed, I downloaded Apac...
asked by 21.12.2017 / 19:07
1
answer

How do I access EJB Remote from a different EAR on WebLogic 11g?

I'm doing an application in WebLogic 11g (WebLogic 10.3.6), this server uses JDK6, I want to access a Remote EJB from an EAR different from the one that contains the EJB, I'm working in Eclipse Oxygen with the OEPE tools, my code is this: Re...
asked by 10.11.2017 / 21:50
1
answer

How can I compare 2 strings in an XML validator from Struts2?

Greetings to the community, my question is how can I compare two strings within an XML validator of struts2, I'm doing the prubeas in this way, but I can not recover the error. <validators> <field name="usuario.user"> <field...
asked by 10.11.2017 / 05:36
0
answers

base64, hexadecimal or byte [] for a return from webservices

I have a WSDL that generates a PDF of jasperreport and sends it to my servlet, so I would like to know which is the best way to send the pdf, I have 3 options: base64, hexadecimal or byte []. I suppose that between the first two is the answer, s...
asked by 18.11.2017 / 02:52
1
answer

Problems with entity classes in netbeans

I'm doing a job with JSf in netbeans; I brought my work project and I tried to edit it in linux Netbeans. The problem is that I eliminate an entity class for a table in my database which is related to other entities ... Despite having made a ref...
asked by 05.11.2017 / 18:54
2
answers

It tells me that the value I'm calling is undefined in json

It tells me that it's undefined the name of the variable that I'm asking Jquery, but I put console.log (data) and it returns the complete array and with its variables $(function () { array_producto = []; $.ajax({ url: "ofertas_guarda...
asked by 28.10.2017 / 02:45
2
answers

Error 500 in a very simple servlet

I'm starting with j2ee and well I started with a very simple servlet, but whenever I try to execute it I get an error 500, a CLassNotFoundException exception of the LoginServlet servlet class in this case and looking in the project I can not fin...
asked by 11.09.2017 / 13:13
1
answer

I can not visualize with JSF

I'm trying to make an invoice display on another page and it turns out that I get null but the result of the invoice appears on the console. This is a part of my code where I make the invoice query on another page. the file is factu...
asked by 15.08.2017 / 05:58