Posts by Ivan • 521 points
22 posts
-
4
votes1
answer727
viewsQ: Generate pdf in java
Good afternoon, I would like a help regarding generating a pdf report in java. Well I am using the first faces to export this report. I created the first line with the fields as you can see in the…
-
2
votes1
answer59
viewsQ: Convert Datetime to unixtime
Good morning guys, can anyone help me? I have a Java application and I need to do a conversion.. Where is localDate for unixtime.. How can I do that? This is my localDate: for (Telemetry telemetry :…
-
0
votes1
answer97
viewsQ: Update 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…
-
-1
votes1
answer1864
viewsQ: Access with another user in postgres
How do I access my terminal postgres with another user I have created without being the postgres?
postgresqlasked Ivan 521 -
5
votes1
answer502
viewsQ: Convert svg to png java
I am trying to perform an SGV image conversion to PNG, but am having some problems. My code: String svg_URI_input = Paths.get("/home/ivan/Documentos/imagem/Svg2.svg").toUri().toURL().toString();…
-
0
votes1
answer1182
viewsQ: Exception <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…
-
1
votes0
answers38
viewsQ: Java-ee, primefaces component order list
Has anyone ever worked with the first-face component orderlist? Because I want to use it in my project and I’m not getting it, could you help me? You are generating an exception and also do not know…
-
9
votes2
answers1183
viewsQ: Add multiple objects to a list
I’m developing an application web, where I have a list of an object called frames, well, every time I click on a button I add a new object to that list, only the problem is this: When I try to add a…
-
0
votes1
answer123
viewsQ: save an object list
I have an object called message and another one called frames.. That is, in my application I can have a list of frames related to the same message. I already have this list in my ManagedBean, now I…
-
0
votes1
answer149
views -
2
votes2
answers576
viewsQ: Add folder with images on the glassfish web server
Good afternoon, folks how do I leave a folder on my glassfish server with some pictures? Oh when I need to direct access that url.. Someone’s already done it?
-
2
votes1
answer626
viewsQ: Increase content font written in input
Good morning, I am new to Java Web programming, I am developing an application in which I want to write an input word, I want to select that word and increase that source, how can I do that? I’m…
-
1
votes0
answers121
viewsQ: Input spaces when writing something
I have an application in Java Web, I have an input text and I would like to put a button or something like that, because when I type something inside this input, if the user wants to go click this…
-
2
votes1
answer167
viewsQ: Action on the button to center text
Someone could help me as I could do so when I type any text into an input, then I have a button on top of my input in which I want to center this typed text. Could someone help me like I can do?…
-
0
votes1
answer19
viewsQ: Compote 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…
-
4
votes3
answers1762
viewsQ: Recover logged in user
I have Java Web application, but I want to do the following: When I log into my application with a certain user then I need to do some operations, such as saving some information in the database,…
-
2
votes1
answer317
viewsQ: Exception returned null Java Web
Can someone help solve an exception being generated in my application? I’m developing a Java web application, I just put one input and a selectonemenu in the application to try to save the data, the…
-
-1
votes1
answer140
views -
0
votes0
answers524
viewsQ: How to recover the number of messages in a Rabbitmq queue?
Has anyone here ever worked with rabbitmq implementing java for messaging? I need your help. I need to recover the number of messages in a queue in Rabbitmq. This is my class, it is a task, in which…
-
3
votes3
answers10404
viewsQ: Clear content from my netbeans java console
Good morning guys, which java command do I use to clean up my netbeans console? Because I have a method that is every time printing some messages and I want you to keep cleaning this from my…
-
1
votes1
answer406
viewsQ: method that checks if there is any record in my database
Good morning guys. I’m new to Java programming, and I’d like a little help. Well, the thing is, I want to do a method and check if there is any record in my table, if you have, proceed with the…
-
2
votes1
answer299
viewsQ: Method that checks if the status is ok
I have this code right below that makes a connection to my server. I would like to perform a status check of my server through a method that connects to that server, how can I implement this? public…