The Coding Forums » Java
822 FOLLOWERS
Coding Forums is the place to chat about anything related to programming and coding languages. Java development queries are posted here, learn programming basics, ask for help and find tutorials & guides.
The Coding Forums » Java
1d 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
The Coding Forums » Java
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
The Coding Forums » Java
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
The Coding Forums » Java
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
The Coding Forums » Java
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
The Coding Forums » Java
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
The Coding Forums » Java
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
The Coding Forums » Java
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
The Coding Forums » Java
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
The Coding Forums » Java
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