Questions tagged as 'java-ee'

1
answer

How to download SQL Server file using Servlet

I have a basic application where I save files in the database SQL Server using Java , the insert part in the database I already did, I would like to know how do I to download the file that is in the bank via JSP . As stored...
asked by 18.12.2018 / 20:57
0
answers

Checkbox saves "back empty" in Oracle ADF Faces

Who gets out of Oracle ADF Faces? I have a timely demand where I have a Checkbox on the screen that - when checked - updates the registry in the database, all right, but when I access that same registry - that same checkbox - "back empty"; ap...
asked by 28.11.2018 / 14:44
0
answers

Jstl + maven do not work, configuration seems correct

The error is as follows: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application I tried the post: link but nothing w...
asked by 01.12.2018 / 20:11
0
answers

I can not render a component after clicking a button

I can not render the include component that is inside a panel, I want to render when clicking a button inside a datatable, but when I click the button nothing happens View              ARTs Fit to Order Book      <script type="tex...
asked by 26.11.2018 / 00:35
0
answers

After page expiration (session-timeout), give auto refresh to login screen

I'm developing an application in JSF, where I have a login screen that has a page filter as a business rule, where the user can access the other pages if they start a session. My application has a certain Timeout, which when hit, I would like...
asked by 10.12.2018 / 19:43
1
answer

How to pass a parameter between two views with @ViewScoped

I need to pass an id of an object between views, the beans of both are view scoped, I'm trying to pass via f: param, but I can not. The value always gets null in the other view View 1 <ui:define name="titulo"> ARTs Aptas a L...
asked by 26.11.2018 / 16:39
0
answers

error: session can not resolved

In the code below I'm getting the message: session can not resolved which prevents you from running the code snippet. package controler; import org.hibernate.Criteria; import org.hibernate.Session; import org.hibernate.criterion.Restriction...
asked by 27.11.2018 / 16:47
0
answers

@Stateless in CDI project

Person, I have the following structure in my project (CDI): BEAN: @Named @SessionScoped public class ClienteMB extends BaseAbstractMB<Cliente, ClienteDTO> implements Serializable { @Inject private ClienteService clienteServic...
asked by 06.11.2018 / 11:05
0
answers

update @form not working, Java EE

I tried with the options @form,: matricula, matricula_form ... and nothing. When I delete the bank registration, only after updating the page does it disappear, I'm forgetting something ??? Follow the code "enrollment_list" below <!DO...
asked by 03.11.2018 / 20:52
0
answers

Receive a json as a Java Servlet parameter

I'm developing an API using java servlet , I'd like to know how to get a JSON in the request body as a parameter and write to a database? Example: { "nome": "José da Silva", "email": "[email protected]", "telefone": "(21) 9...
asked by 24.10.2018 / 22:26