Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.net.MalformedURLException;

import java.net.URL;

public class Main {
    public static URL getConsoleUrl() {
        try {
            URL url = new URL("http://localhost:8080/jbpm-console/");
            return url;
        } catch (MalformedURLException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            return null;
        }
    }
}