Questions tagged as 'jsp'

0
answers

How to read a file inside a servlet from a jsp

I'm doing an application where I have to upload a file to the server, which I already did but I do not know how to read it inside a servlet and show its contents. This is the jsp: <h1>Subir archivos</h1> <form method="post" a...
asked by 29.05.2018 / 04:06
1
answer

EJB - RIGHT_JOIN_NOT_SUPPORTED

I am new to the use of criteria and jpa. I have two tables related by a field. I need to make a join that shows me all the related data as well as those not related by that field even if some of the fields in the main table are empty (This is...
asked by 28.11.2017 / 16:45
0
answers

How can I insert and extract variables with "session" with java :?

this is the scenario: On the one hand I have a .java where I want to put a variable in session doing this: String [] matriz = new String[5]; matriz[0] = "Hola"; matriz[1] = "que"; matriz[2] = "tal"; matriz[3] = "estas"; request.getSess...
asked by 27.09.2017 / 11:44
1
answer

It does not replace the null values

Good ... my problem is that when saving in the database is saved as null that is why when I call it I give a condition that if it is null I paint it empty but it does not work ... I saw another way of doing it but it did not work for me either A...
asked by 08.09.2017 / 18:26
1
answer

Remove annoying numeral in commandLink (JSF)

I'm trying a bit of a Java Server Pages framework (JSP) called Java Server Faces (JSF). I made a base template and other client templates. The page is very simple, but there is one issue that I can not solve, and it is this: On my left I have...
asked by 03.06.2017 / 16:54
0
answers

Ajax, JSP and Servlets

I have problems executing an application on the server that greets when entering the name, my files are      index.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PU...
asked by 20.05.2017 / 00:18
0
answers

"Can not build classfiles for source directories" Openbravo. JSP

It turns out that I want to modify a PDA module that brings the Open Bravo point of sale. Import the project to Netbeans. Everything is in order. Required libraries, Tomcat server with xampp, java 1.6. Everything, but when trying to execute, he...
asked by 12.04.2017 / 08:30
2
answers

Operation not allowed after ResultSet closed

I'm having a problem with a method whose function is to return a list of messages sent by the user (assuming the user is an attribute of the method class) The code in question is the following: private final String url = "jdbc:mysql://local...
asked by 27.03.2017 / 17:01
1
answer

Instance classes and execute java methods from jsf

I'm doing a webservice, and I have several JSF Managed Bean methods, and I need to instigate the class and invoke the methods by sending parameters type String from a JSF page that is of .xhtml extension. I do not need it to inv...
asked by 08.03.2017 / 18:51
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