Sign in to follow this  
_nomad_

[web] Webpage communicate with Java application

Recommended Posts

I have a java application, and I wish for it to have a web-based interface where I can control what it does. Let's say i have a submit button on the webpage, and when i click on it, the Java application will be triggered to do something, like call System.out.println("Hello World"); or something. How does one go about this? Thanks.

Share this post


Link to post
Share on other sites
Hi,

Nope, not an applet. an actual application.

So like I have a jsp/webpage, when I click submit button, I want the application (that's running on the same PC as the webserver) to do something, like System.out.println("Hello World").

How do I go about this?

I know the application should be listening somehow...but how?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this