0

Applications like H2 DB run cmd prompt and then open a webpage on 8082 port number.

Can anyone please help me?

2
  • So how is it possible to write a program to display simple webpage in browser? Commented Oct 16, 2015 at 16:41
  • You will need a webserver that H2 uses. See here for details. Commented Oct 16, 2015 at 16:44

1 Answer 1

0

H2 DB is running an embedded web server so that you you can manage it.

If your application needs to serve web pages then you cab use jetty which you can embed right in your code: http://www.eclipse.org/jetty/

You can open a url or a local file in a browser using the answers here:

Getting java gui to open a webpage in web browser

Sign up to request clarification or add additional context in comments.

1 Comment

Yes, embedded web server. Got this link when searching for it. codeproject.com/Articles/128145/…

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.