Most voted "java-ee" questions
Java Platform, Enterprise Edition, or Java EE (or Java Platform, Enterprise Edition) is a programming platform for servers in the Java programming language.
Learn more…631 questions
Sort by count of
-
0
votes1
answer514
viewsWhat would be a service class in a Java MVC project?
You could tell me the difference between classes in the package "control" in a MVC project and service classes?
-
0
votes1
answer75
viewsI cannot render a component after clicking a button
I can’t render the include component that’s inside a panel, I want to render by clicking a button inside a datatable, but when I click the button nothing happens View Arts Aptas a Book of Order…
-
0
votes1
answer124
viewsHow to pass a parameter between two views with @Viewscoped
I need to pass an id of an object between the views, the Beans of both are view scoped, I’m trying to pass via f:param, but I can’t. The value always arrives null in the other view View 1…
-
0
votes1
answer47
viewsError in Facesconverter with variable type Date
I am getting the following error while running a web project: java.lang.Classcastexception: java.sql/java.sql.Date cannot be cast to br.faraway.Nicholas.converter.Sampleentity My page on which I…
-
0
votes1
answer574
viewsJava Web login/authentication screen
Good morning guys, I am seizing Java web but my login screen is not logging in and not giving error signal when clicking enter. Working class import javax.persistence.Column; import…
-
0
votes1
answer73
viewsCenter an image in java ee
Good afternoon, I’m doing a job for the college and I was wondering how do I centralize this image in java web <h:graphicImage url="../resources/images/logo.jpg"/>…
java-eeasked 5 years, 7 months ago Jackson Felipe Magnabosco 140 -
0
votes1
answer1182
viewsException <p:ajax> Unable to attach behavior to non-ClientBehaviorHolder Parent
I am using JSF, Primefaces in my Java EE project. When I use the Primefaces component orderlist, returns me an exception on the screen and I don’t know what exactly it is, it happens the moment I…
-
0
votes1
answer74
viewsHow to read a file that is inside an EAR
I have the following structure of an Ear application myApplication.Air /META-INF/file.properties War/WEB-INF/lib/myLib.jar/myClasse.java file I would like to retrieve the file from my Classe.java.…
-
0
votes0
answers22
viewsDoubt with theme in Primefaces
Good morning, Does anyone know how I can change my project theme to web.xml adminfaces if I need to download something or just mute the code ?
java-eeasked 5 years, 7 months ago Jackson Felipe Magnabosco 140 -
0
votes0
answers67
viewsError loading Theme, cannot find "Theme.css" Resource of "primefaces-admin" library
I’m trying to change the theme of the primedace to the Adminfaces but now this happening this error Error loading Theme, cannot find "Theme.css" Resource of "primefaces-admin" library…
java-eeasked 5 years, 7 months ago Jackson Felipe Magnabosco 140 -
0
votes0
answers24
viewsLibrary to generate files referring to a class autonomously?
For example I create the dog class there after I have to create the files DOG, DOG, DOG, DOG. I was wondering if there’s a way to automate this, just creating the class and then these other files…
-
0
votes2
answers2083
viewsPick selected line from datatable
I have a dataTable with the data in front of each given one button, when I click one button dialog is opened so that I can edit this data, but I cannot take the object that was selected to pass as…
-
0
votes1
answer121
viewsError deploying a Maven project
This is my first complete project with Maven, when I spin in the IDE works perfectly but when I do deploy on the server Tomcat some mistakes happen. Error that happens when I try to enter the system…
-
0
votes1
answer39
viewsProblem running Java Web project
someone has already had this same error using Javaweb ? I can’t run my project…
-
0
votes1
answer507
viewsJava spring + Thymeleaf showing "Whitelabel Error Page"
I am following a tutorial, however when starting my application it does not open the index page but an error page: Someone could help me? Application start class: package com.userFront; import…
-
0
votes2
answers475
viewsTry/Catch: java.lang.Outofmemoryerror: Java heap space
I have a very serious problem in my web application, and after a lot of research, I found that the error java.lang.Outofmemoryerror: Java heap space Could be being caused by try/catch with catch…
-
0
votes1
answer29
viewsWeb Application Eclipse Javaee
I am developing a eclipse web app using Servlets, JSP and JDBC to connect to the Mysql database. Although my code does not present errors in the compilation, when I try to run the project the…
-
0
votes1
answer380
viewsChange Bootsfaces theme
I’m trying to change the theme of a Bootsfaces application and I’m not getting it. On the site says I have to find a folder called less but I can’t find it. Customization of the Bootsfaces.jar Until…
-
0
votes0
answers468
viewsHow to save folder path to database?
Greeting to all, I created an application that is saving the records in the database, as shown in the figure; This application is succeeding in saving the title, date and description, and is…
-
0
votes0
answers45
viewsHow to integrate my User into Spring Security xml
I’m starting to learn Spring Security and I’m having some questions. In the past I used to authenticate users using phaseListener. I have the User MB where your scope is @SessionScoped. How can I…
-
0
votes1
answer97
viewsUpdate datatable when searching for autocomplete
Good morning, everyone. Could someone ask a question? Good is the following, I have a component of the first faces autocomplete and a datatable, but when I perform a search for the autocomplete, it…
-
0
votes1
answer94
viewsWhat’s wrong with running Hibernate Query?
I am running this query in Hibernate: manager.createQuery("from Usuario where senha = '" + senha + "' and login = '" + login + "'", Usuario.class).getResultList(); But is giving an Exception that…
-
0
votes1
answer510
viewsWhy does JSF not recognize the component id in the View?
JSF is not recognizing the "dialogo-analyze" id that is in the view and is giving the error : FATAL: Cannot find component for expression "dialogo-analise" referenced from…
-
0
votes3
answers289
viewsOimundoservlet.java - #algaworks
I am following the E-book "Java EE7 With JSF, Primefaces and CDI". I created the Maven project, edited the file pom.xml how the workbook guides, when creating the example file OiMundoServlet.java, I…
-
0
votes0
answers100
viewsPrevent simultaneous access Tinyradius
I’m using the Tinyradius in a Java EE application and in this application the simultaneous access of the same user cannot be allowed, but Tinyradius itself does not implement such a requirement.…
-
0
votes1
answer201
viewsSQL/ JPQL query
Friends, good afternoon. I have a table in the database called Question Inside the table I have two columns that are code (id) and question. I have a filter that I can not specifically bring only…
-
0
votes2
answers493
viewsWhy is my Bean not getting the form Ubmit?
Why my Bean is not recognizing the attribute of a simple selectOneMenu: I created in my Bean the attribute private Long areaprevencaoId. This attribute is associated with a <p:selectOneMenu>…
-
0
votes1
answer111
viewsTo interrupt and return to xhtml error to display in <p:messages>
I have a processing of a <p:dialog> within this dialog I have a <p:messages>. <p:messages id="msg-dialog" showDetail="true" autoUpdate="true" closable="true" /> The messages of…
-
0
votes1
answer149
viewsWhy is my selectOnMenu of the primefaces rendered differently?
Why are my components selectOneMenu primefaces is not fully rendered? Normal component of the primefaces: My rendered component : Screenshot of the problem. How to change prime css?…
-
0
votes1
answer191
viewsHow to run a <p:confirm> through the bean?
My question is: How can I execute one <p:confirm> through the Bean? I will explain the problem better. During the insertion of a record I need to check if it already exists in the list in…
-
0
votes1
answer425
viewsWhy isn’t the object being instantiated?
I have a Bean class (Casa.java) public class Casa{ //atribubutos private String parede; public Casa(){ } //getters e setters public void setParede(String parede){ this.parede = parede; } public…
-
0
votes0
answers282
viewsProblems in saving in the bank in Spring MVC project
I’m new as a Spring MVC developer, I’m developing a simple application, but quite different from what I usually create, because usually Frameworks Spring MVC uses XML files to set up the project,…
-
0
votes1
answer132
viewsSelectoneradio sending only one value
I am concluding a simulation system for my course completion work. However, I have a problem that I have not yet been able to solve. I perform a filter to select the questions for the user to…
-
0
votes2
answers313
viewsError running Java program - Mapping Servlet Web.xml
I have the following software, it should allow me to pass a file, will send a message on the console to just positive access to a class and list the result on the page, I’m starting and do not know…
-
0
votes1
answer38
views -
0
votes1
answer546
viewsList two related tables Primefaces x Hibernate
I need to list information from the two tables on the same grid, they have relationship created by Ibernate itself. You would need the vendor name in the table shown below In case it would be these…
-
0
votes1
answer172
viewsPrime faces does not run the theme "SAM"
When I run my main.xhtml page the theme is not displayed next to the page The tree of the project is attached. Web file.xml <?xml version="1.0" encoding="UTF-8"?> <web-app…
-
0
votes2
answers908
viewsHow to load page reload when selecting dropdownlist item from jquery list by passing parameters?
I have a select <select id="selecao" name="tipoLocal"> <option value="casa">Casa</option> <option value="predio">Predio</option> <option…
-
0
votes0
answers255
viewsJSP does not display images or find CSS and Javascript
Good night, I’m having a weird problem, I’m trying to display images, map CSS and JS in jsp and it’s not working, it just doesn’t, the weirdest thing is that I’m using the c:url tag of "jstl/core"…
-
0
votes1
answer1259
viewsConvert String to Date (request.getParameter)
I have a form in JSP that makes a register that has a date. <form method="Post" action="InserirCompromisso"> titulo : <input type="text" name="titulo" required="true"> local : <input…
-
0
votes0
answers366
viewsHow to get Result from Controller Vraptor with Jquery?
I have a controller. Newslettercontroller.java @Controller public class NewsletterController{ @Inject private Result result; @Post("/gravarEmail") public void gravarEmail(String email){ String…
-
0
votes1
answer722
viewsJavascript in JSF page - Primeface
HTML code - JAVASCRIPT It reads a txt file from the computer and puts its value in an html input <input type="file" id="files" name="files[]" multiple /> <input type="text" required…
-
0
votes1
answer194
viewsJPA merge/persist
I have the following structure: A.class B.class C.class D.class A.class contains many B.class containing a D.class C.class contains many D.class containing a B.class Whereas D.class is persisted in…
-
0
votes1
answer1134
viewsPrimefaces doesn’t see the methods of my class
Here’s my problem: In the xhtml below (listDeOSs.xhtml) when I put it this way, it does not recognize the method I made in my Bean (the bean method returns a list). JSF along with primefaces is…
-
0
votes0
answers212
viewsOn call to Entityidentifierreaderimpl#resolve, Entitykey was already known; should only happen on root Returns with an optional Identifier specified
Using Hibernate with class: Java text. package br.com.meusite.model.documento; @Entity public class Texto extends ABeanDao<Texto> { private static final long serialVersionUID = 1L; private…
-
0
votes2
answers6574
viewsTo enable and disable a text type input after a value selected in the combobox
My jQuery < script > $(document).ready(function() { var tipo = $("#idTipoParticipante option:selected").text(); if (tipo == 'Personagem') { $("#enable").click(function() { // habilitando o…
-
0
votes0
answers392
viewsUse of the p:tabview component of Primefaces
I’m using the p:tabview component of Primefaces: <p:tabView dynamic="true" id="tab_view"> <c:forEach items="#{tabbedView.listOfTabs}" var="listOfTabs"> <p:tab…
-
0
votes1
answer114
viewsnull return when trying to persist data
I’m having problems registration and search system while persisting in saving method of the null return, I already switched to @viewscoped my bean but nothing, debugged project and nothing, I can…
-
0
votes1
answer148
viewsApplication - playing this message - javax.el.Propertynotwritableexception - not writable on type
Hello. It’s the following ,I’m not able to delete the selected fields,and my application is playing the message - javax.el.Propertynotwritableexception: /listFunction.xhtml @29,32…
-
0
votes1
answer47
viewsOn android which class corresponds to javafx Image class
I have image server implemented in javaEE, in javafx I make an image request to the server that returns an array of bytes, with this result create the image on the client side: ** Image in PNG…