• Advertisement
Sign in to follow this  

[web] Webpage communicate with Java application

This topic is 4294 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement