Posts by Luís Felipe Dal Molin • 169 points
9 posts
-
0
votes1
answer240
viewsA: Run sh in java
Try to check if you are giving a message when executing the command: try { Process p = Runtime.getRuntime().exec( "COMANDO" ); InputStream is = p.getInputStream(); InputStreamReader isr = new…
-
0
votes0
answers276
viewsQ: Jaspersoft - List consuming space when empty
I have a report that has a group header and within it there are two lists. I made a treatment via expression to print each of the lists only when there is content for each of them, but when one of…
-
0
votes1
answer205
viewsQ: Problems generating Oauth access token with Httpurlconnection
I’m trying to file a request for a web service that uses Oauth to generate an access token. However, although the request returns the Http 200 code, json only appears as…
-
0
votes1
answer73
viewsQ: Request problem via ajax
I have a JSP page to login to my system, but when trying to make a request via ajax to authenticate me, the form does not seem to be being sent correctly, as the redirection is done to the login…
-
3
votes1
answer1191
viewsQ: Reading XLS in Java
I have a class to read an xls in java, and I need to know how to print a column next to each other as well as in xls itself. So far I’ve only been able to print in a race or single line. NOTE: I am…
-
2
votes1
answer990
viewsQ: Lines with alternating colors
I’m putting together a report using Jaspersoft Studio to display a list of system calls. This list has 3 columns, with the number of the call, the title and its creation date. What I need is that…
-
0
votes1
answer65
viewsQ: Query with SQL Server query
I have the following query in SQL Server, to return me a list of cities I need. select IDCidade as "ID", case UF when 'RS' then '1' when 'SC' then '2' when 'PR' then '3' when 'SP' then '4' when 'RJ'…
-
1
votes2
answers2019
viewsQ: Invalid character in file . bat
Sirs ! I have a . bat file that I use to start Apache Tomcat from my application in debug mode. But while running this file on CMD, the first thing displayed is the following message: '' is not…
-
10
votes1
answer1031
viewsQ: Sort Varchar field by taking into account groups and subgroups
I need to sort the values below in ascending order. They are Varchar type and the solutions I have found so far for Mysql have not worked. An example of the data type would be 1.12.02, because these…