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
-
1
votes1
answer149
viewsHelp to view the Megamenu primefaces
Good colleagues, I’m having trouble with the Megamenu component of primefaces I’d like the components to be visible to users but they’re hidden behind the central region, so I’d like to bring it…
-
1
votes0
answers84
viewsHow to uncheck a checkbox after clicking another
How to program and Java (Android Studio) to deselect a checkbox after clicking another checkbox. Example: - Quiz That’s my code and the question that uses the checkbox is identified in that code as…
-
1
votes1
answer277
viewsCannot change version Facet Dynamic Web Module to 4.0. Maven
I had this problem and I thought I had solved it, but when I opened eclipse hj the problem just happened again, the strange thing is that it only occurs inside the IDE, because if I compile and put…
-
1
votes2
answers127
viewsError while trying to connect to mysql
I am developing a project with Java Web and Mysql and when I went to create the connection and test this giving enough error, I need help to solve this... package br.com.farmacia.factory; import…
-
1
votes2
answers603
viewsSending Email with Java
This code that I am using to send email by Java last time I used in 2017 worked, however, I am trying to use it now and it does not work in any way, it does not send me the email in any way. package…
-
1
votes0
answers43
viewsJava web mapping with xml
Hello, I am learning java for web, and I have a certain problem, I am not able to do the mapping in the xml file for the links of the pages to be cleaner. I have the following class:…
-
1
votes1
answer90
viewsAbout implementation using spring
Hello, I need a help, I have a bank with two tables 1-Institution 2-People, for that I created in the model these 2 classes do not know if it is the right way more I did so. I created the Repository…
-
1
votes0
answers16
viewsImageio.read returns null when Inputstream use jersey
I have the following problem I have the following service: @PUT @Path("/validateQRCode") @Logging @Permissions(allAllowed = true) @Consumes(MediaType.MULTIPART_FORM_DATA)…
-
1
votes0
answers19
viewsPrimefaces Tabview Component Disappears
Hello, I am testing the Tabview component with mandatory fields included in each tab. I use ajax with update="@form" to update the component, but when I click on another tab, the Tabview bar simply…
-
0
votes1
answer2195
viewsHow to sort and disarray a JSF datatable by clicking on the column?
Good guys, I have an application in JSF, I would like to know how to sort and disorganize datatable when clicking the column, in this table there are 6 columns and 3 of them I would like to click it…
-
0
votes1
answer276
viewsProblem with class org.hibernate.Validator.Invalidvalue when upgrading from Hibernate 3.X to 4.X
I have a project developed using Jboss Seam 2.2.2.Final along with Hibernate 3.6. I’m trying to upgrade this project by upgrading and migrating the component versions that it uses. One of these…
-
0
votes1
answer96
viewsObject after persistence and return inconsistent to a dropdown list
Hello folks good afternoon! Well, briefly I have a problem where I have no idea what might be going on. In my opinion such behavior makes no sense. I am using Spring MVC + Spring Data to facilitate…
-
0
votes1
answer500
viewsHow to use ping/pong in Websocket Java
I searched for material on the Web but I haven’t found how to implement ping/pong messages on the Server and Client respectively. I know how to send and receive, but I still don’t understand the…
-
0
votes1
answer49
viewsconvert from Date to number in Java
I have a field in the Mysql Date database and within a function modelPie.set(String, number) I want to bring this field but java says it cannot convert from Date for Number.…
-
0
votes1
answer194
viewsError showing List output using MVC and JSF
I need to return data from the database to JSF but even before I get to JSF I cannot show the searched data. I Have Next Mistake: Advertência: #{usuarioBean.pesquisa}: java.lang.ClassCastException:…
-
0
votes1
answer48
viewsError trying to run JSF application
Guys I’m starting to study Jboss, Maven, etc. However when I run a page I created for tests this error appears: Could not find backup for factory javax.faces.context.FacesContextFactory In my…
-
0
votes1
answer578
viewsError the request doesn’t contain a Multipart/form-data or Multipart/Mixed stream
I am trying to save the image to disk but it is generating me this error. mai 18, 2015 12:03:56 PM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute ADVERTÊNCIA:…
-
0
votes2
answers758
viewsNullpointerexception error when using JSF EL
When I add this line of code to my XHTML page: <f:param name="pedido" value="#{pedido.id}"/> It generates this error: jun 04, 2015 10:59:42 AM…
-
0
votes1
answer163
viewsDo not display another row in the table when status equals "Canceled"
I have a <p:dataTable> which is populated by data that is in a file .xml and I have in front of each line a button to finish or cancel the process. How do I not display more in my DataTable…
-
0
votes0
answers60
viewsNo suitable driver found (Mas o driver esta la !)
Guys, I made a first application through the Caelum site in Java EE, a calendar, and all right, all right, fine, I added contacts to MYSQL quietly in the Java part of the workbook, the JDBC driver…
-
0
votes1
answer19
viewsCompote ready
Good morning. People, can anyone tell me if there is any other component besides the editor of the primefaces, in which it has the following properties: font, font size, center, left align, right…
-
0
votes1
answer422
viewsValidation of input triggering 400 error with Spring MVC
Guys, there’s a boring mistake that I’m losing sleep over to figure out how to treat. Well, every time I perform my test by checking the validation of my field an error 400 and fired. I don’t know…
-
0
votes1
answer149
views -
0
votes2
answers363
viewsError in Java Resources package in Maven project
I created a project Maven one-page xhtml just for testing, but keeps giving this error in the package. What would that mistake be?…
-
0
votes1
answer145
viewsMonitor Directory with Java Web
I’m working on an application Java Web, using the server Apache Tomcat and I need to monitor, or "listen" to a directory on the server. Asynchronously, and permanently. Because when a file is…
-
0
votes1
answer90
viewsDo not move with Mouse the <p:dialog>
Stupid question however I did not find in any corner, I would like to not allow the user to move the open p:dialog. <p:dialog header="#{MyBean.select.projetos.nome}" widgetVar="lanDialog"…
-
0
votes1
answer60
viewsSpring’s Bind with Collections
I haven’t been able to find a solution on how to resolve this issue yet, after researching and researching I found something on how I can bind elements of my form to a Collection in a POJO. But…
-
0
votes0
answers136
viewsHow to configure JSF in Eclipse JEE?
I’m starting my JSF studies, how can I set my environment to start with JSF in Eclipse JEE? What I need to install add-on?
-
0
votes2
answers294
viewsError in update selectOneRadio
I am trying to update the value field and percentage of the page under development. When I put in ajax the option:update=":formDlgSolicitacao:idPercentual :formDlgSolicitacao:idValor" it does not…
-
0
votes1
answer90
views -
0
votes0
answers151
viewsReturn to the region where you were when you submitted the form (JSF 1.2)?
I have a page jsf with 2 master/detail moulds. How do I make sure that after the form submission the bean details the region of the page where the detail is? I’m using jsf 1.2 and Richfaces 3.3.3.…
-
0
votes1
answer87
viewsHow can I not update a page when closing a Richfaces modalPanel?
I need that when closing a Richfaces modalPanel the page on which the modal was called is not rendered. The action to close the modalPanel is like this: <h:commandLink…
-
0
votes1
answer630
viewsHow to start a certain tabindex tab (primefaces)?
How do I display one on a particular tab? I tried to use the tabIndex="#{meuBean.tabIndex}"setando for 0,1,2 and etc, but when opening it always positions in the first tab.
-
0
votes1
answer332
viewsHow to include a field in the First Faces dataset that does not exist in the datatable?
How to include a field in the dataPath (Primefaces) that is not in the datatable? I am generating an Excel file from a datatable with dataExporter, but I need to include a column that does not exist…
-
0
votes1
answer809
viewsPersistenceunit: fabricaweb2 Unable to build Entitymanagerfactory
I have this error below, you are not able to create the Entitymanager. I am using the Maven and the folder META-INF this one inside src/main/Resources in the root folder where the entities are…
-
0
votes1
answer859
viewsHow to render a jsf component through the bean?
I need to render a jsf component (Primefaces) through the Bean. I have a selectOneMenu that changes the type of person (physical/legal) and I need to render the field "CPF", because I use the same…
-
0
votes1
answer1315
viewsLine break in <p:confirm> Primefaces message
I am unable to implement the break line in the following code: <p:confirm icon="ui-icon-alert" header="Confirma a alteração do Status" message="Tem certeza que deseja alterar a Situação do…
-
0
votes1
answer106
viewsJasperreports - Is it possible for a report to be automatically listed several times?
I have a report that is nothing more than a receipt, with its items and data of the note and the items. A feature was requested that when selecting more than one invoice, this report manages the…
-
0
votes1
answer137
viewsChange and delete objects before persisting in BD
I have a feature that aims to register clients, in which within such registration I have a relationship as follows: A customer may have multiple "Attendances", and each service may contain several…
-
0
votes1
answer300
viewsWhat is the endpoint interface in EJB?
I am studying EJB(Enterprise Java Beans) and would like to know, within the context of distributed applications, what is the role of the endpoint interface. What is the endpoint interface? Where and…
-
0
votes0
answers370
viewsError accessing Websphere database
This error appears after installing the project(it installs everything normal and even runs and opened the project, but when it will access a page that makes the request to the error database):…
-
0
votes1
answer1328
viewsCharacter encoding UTF-8 not working
I know that the issue has been commented on numerous times in various blogs and forums around the world, but I really do not know what may be causing, because I think that in setting up my project…
-
0
votes1
answer140
viewsSimulate different Timezone with Java
I developed a web application (with java) and there I have a business rule that needs to save the user’s subscription time. But I need to save 3 times: user’s local Timezone, global Timezone, and…
-
0
votes1
answer119
viewsGenerate Url through form
I have the following url: www.teste.com/username=xxxx I have to type the name of Usario in xxxx, I am creating a form in html with the username field, I want that when the user type his name in this…
-
0
votes0
answers75
viewsIf I’m going to create a J2EE application in Eclipse, should I download the Javaee version?
What is the most suitable version of Eclipse to work with J2EE?
-
0
votes1
answer467
viewsHow can I add objects to a list dynamically through the views?
I have a question about Spring MVC. I’m developing a system using HTML5 in View, and as a renderer I am using the thymeleaf. For example, if I have a class Produto, and this has a list of Endereços,…
-
0
votes0
answers372
viewsTomcat: The server encountered an Internal error that prevented it from fulfilling this request
I’m having problems with Tomcat using Eclipse. First he couldn’t find the Mysql Driver, then I used Class.forName in class ConnectionFactory and now he’s returning to line 52 AdicionaContatoServlet…
-
0
votes0
answers245
viewsDoubt with JMS in Java and implementation
I need to do a simple Publisher/Subscriber in JMS, but I’m full of doubts about how it works since I don’t have much idea of the architecture nor the implementation in Java. From what I understand…
-
0
votes1
answer84
viewsPass user authentication between different contexts
I have three java web(.War) projects with different contexts within the same EAR. I need the user to authenticate in an application and then I traffic this information from it among the other…
-
0
votes1
answer985
viewsENUM returning only key and not value
I am trying in various ways to get the value of an ENUM, but it just returns its "key". Below follows the ENUM: public enum SaleType { BOUGHT("Comprou"), SEND_BUDGET("Enviar Orçamento"),…