Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8873839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:34:00+00:00 2026-06-14T18:34:00+00:00

I was just wondering if such a thing was feasible to implement, and maybe

  • 0

I was just wondering if such a thing was feasible to implement, and maybe a general overview of the steps required.

Basically, I have a webpage that contains a form. When the user clicks on submit, I’d like to send the data to a java program that I’ve created, which will in turn process the form data and return some output to the webpage.

The java program itself is pretty simple (it returns some simple strings), but it should be constantly running and waiting for form submissions and returning output.

So far, I have the webpage set up, and the java program runs correctly in eclipse. But besides that, I’m kinda lost as to what to do next and how to link the two together.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T18:34:01+00:00Added an answer on June 14, 2026 at 6:34 pm

    There are a few different ways of doing this, each with its own pros and cons. Different people will suggest different frameworks and techniques.

    It sounds as if you are still earning the ropes and your problem is fairly simple. I would suggest that you download a copy of Apache Tomcat. It is what we call a servlet container (it also has a built-in webserver). That will take care of the “constantly running and waiting for form submissions” part of your problem.

    Next you’ll have to write something that accepts the form submissions. The easiest way to get started is to write a Servlet, even though on larger apps you’ll probably wouldn’t want to use servlets directly. You can Google for a Servlet tutorial, or check out one of the many books available on the subject – see https://softwareengineering.stackexchange.com/questions/29918/what-are-some-good-books-on-java-servlets-and-jsp.

    You can then deploy the Servlet into your Tomcat servlet container and let it do the hard work for you.

    It will take some time to wrap your head around all the bits and bobs because it is quite different from standalone apps, so be patient. You have just started the journey as a web developer. Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was just wondering: PHP is such a good robust thing for make quick
Okay, I'm just getting curious. But I was wondering if there was such thing
Hi I am wondering if there is such thing as a 'cascade copy' that
Just wondering is it possible to build CLI app that can be run from
Just wondering if anyone can optimize this usortMonths() function to be better? Basically I
Just wondering if there are more password policies beyond the generic ones such as
I was just wondering if it is possible to register a broadcast receiver that
I am just wondering how some things work in gamedev: I know, that the
I am not trying to do any such thing, but I was wondering out
im just wondering as I couldn't find an answer on google (well, maybe Ive

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.