Sign Certificate, Library jsrsasign-latest-all-min.js using function KJUR.jws.JWS.sign('PS256')
The Coding Forums » Java
by icassiem
4h ago
Hi, I dont know Java, but i have been trying to simulate the javascript within powerquery to sign a netsuite token certificate. I have managed to get the postman call of the lib+function within HTML But with PowerQuery limitation of get/ref the lib the function does not work as PowerBI does basic javascript only i am thinking of creating an Azure Function App that creates an API refreshing the below html when a GET is executed from PBI The issue is in Azure the script within function is... Read more ..read more
Visit website
X.value problem
The Coding Forums » Java
by michaelpettinicchi@hotmai
1M ago
Can't find what's wrong in my following code. See my notes in my code. function formcheck(myform) {with (myform) alert(sel.value); <----note---------- Msg shows a "2" if(sel.value==2) {alert('OK');} <-----note--------- This msg never shows up and it should because above msg shows 2. else{alert('not 2');return false;} <-----note-------Msg shows "not 2" and this should not happen a/c above msg shows a 2. if(frdate.value == '' && todate.value == '') {alert('TO DELETE A RANGE... Read more ..read more
Visit website
HTTP request with trailer
The Coding Forums » Java
by sitgeo
1M ago
I'm writing an http request that requires the use of http trailer, i've searched around a bit but didn't find any example using plain java 8 (no spring or servlets). This is the method i've currently written: public WebResponse uploadFileSend(String URL, String httpMethod, String pdfPath, String secret, String hash256) throws IOException { byte[] pdfContent = Files.readAllBytes(Paths.get(pdfPath)); String requestUrl = new StringBuilder() .append(URL)... Read more ..read more
Visit website
Prompt was to have user enter sentence and output should be the number of words, this code's correct but idk How "prevChar = currentChar"work?
The Coding Forums » Java
by Princi15
1M ago
public static void main(String[] args) { String sentence; int wordCount = 0; char prevChar = ' '; char currentChar; int index; System.out.println("Enter a sentence: "); sentence = EasyIn.getString(); for (index = 0; index < sentence.length(); index++) { currentChar = sentence.charAt(index); if (Character.isLetter(currentChar) && !Character.isLetter(prevChar)) {... Read more ..read more
Visit website
There is no error in code but its still giving 0 percentage in result
The Coding Forums » Java
by saima
3M ago
import java.util.Scanner; public class main1 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the name of student : "); String n = sc.nextLine(); System.out.println("Enter the total marks to be scored : "); int total = sc.nextInt(); System.out.println("enter the marks in maths : "); int m =... Read more ..read more
Visit website
I cannot find a suitable guide on how to use jzy3d, can anyone help me?
The Coding Forums » Java
by independent
3M ago
Hi, note please currently I can be accepted as random user of java with a very limited knwoledge of its. I supposed that I could create some basic shapes (3d) or curves or graphs of functions (2d or 3d)but this almost never happened. my ms dos terminal generally turns with many errors. I also do not know how to use github.(I mentioned this because there are many webpages or guides that refer to this page (at least for the required packages) will the knowledgeable responders recommend me... Read more ..read more
Visit website
How to implement a html parser in java?
The Coding Forums » Java
by Flo
4M ago
I'm developing a little browser in Java for a school project. I've already coded the part that allows to receive the response from the web server and to save it in a string. Now I have to parse this code to construct the render tree. For this project, I don't have to develop a parser too, I can use an already existing one, but I have no idea where to start. Can someone indicate a library or give me an example of implementation in a Java code? (I'm sorry for my bad English and for this... Read more ..read more
Visit website
How to create a Java Project with JDBC Spring Framework
The Coding Forums » Java
by nlost
4M ago
I want to create a Java Application where values of an object are read from a database, but using JDBC with Spring Framework ..read more
Visit website
How to connect MySQL DataBase to Java Application
The Coding Forums » Java
by ckarosta
4M ago
I have a mysql database winx and I want to insert values in table from user and to display them using a java application ..read more
Visit website
My Status, Ciphertext
The Coding Forums » Java
by Blue JProgramme
5M ago
Below is my status, can anyone reply me ? /** * Write a description of class EA here. * * @author (your name) * @version (a version number or a date) */ public class status { // Declare varaibles public static void main(String[] args) { String[] name={"a", "b", "c", "d", "e", "f", "g"}; AppArray ar=new AppArray(); ar.NameDisplay (name); } public class M1 { public static void main (String[] args ) { String inWord; String result = " "... Read more ..read more
Visit website

Follow The Coding Forums » Java on FeedSpot

Continue with Google
Continue with Apple
OR