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 862557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:09:43+00:00 2026-05-15T09:09:43+00:00

ex) Authenticate users on their desktop app from a server. Questions about server: Do

  • 0

ex) Authenticate users on their desktop app from a server.

Questions about server: Do I have to use Tomcat ? Are there any other solutions ? could I even use Apache ?

  • 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-05-15T09:09:44+00:00Added an answer on May 15, 2026 at 9:09 am

    You need some way in your Java app to download the pages at specific given URLs.

    URL url;
    InputStream is = null;
    DataInputStream dis;
    String line;
    
    try {
        url = new URL("https://stackoverflow.com/");
        is = url.openStream();  // throws an IOException
        dis = new DataInputStream(new BufferedInputStream(is));
    
        while ((line = dis.readLine()) != null) {
            System.out.println(line);
        }
    } catch (MalformedURLException mue) {
         mue.printStackTrace();
    } catch (IOException ioe) {
         ioe.printStackTrace();
    } finally {
        try {
            is.close();
        } catch (IOException ioe) {
            // nothing to see here
        }
    }
    

    (taken from How do you Programmatically Download a Webpage in Java)

    After that, it seems to me that any web server that will accept URLs with arguments will work, with a script on the server (any language) to accept requests. All you need is a response, and to maintain the session on the server.

    Example: http://myserver.com/myscript.php?action=login&username=blah&password=blah would return a page saying if the action succeeded or not, and you would parse this.

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

Sidebar

Ask A Question

Stats

  • Questions 498k
  • Answers 498k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I personally prefer to put the Aspect pointcut configuration in… May 16, 2026 at 12:11 pm
  • Editorial Team
    Editorial Team added an answer If it is unrelated data, then use two different Dictionaries… May 16, 2026 at 12:11 pm
  • Editorial Team
    Editorial Team added an answer EDITED Hi, //I just get Image ID. String [] proj={MediaStore.Image.Media._ID,MediaStore.Image.Media.DATA}… May 16, 2026 at 12:11 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Several sites, including this one, are using OpenID to authenticate their users. And of
We're currently developing a Windows Smartclient that needs to authenticate users using their AD
I have the following in my Activity that I use to download a users
How can I use HTTP basic Authentication and have the user submit their Username
I have a simple Desktop Facebook application that allows the user to retrieve some
I'm working on a website that will be using Facebook Connect to authenticate users.
We have an existing Web application and we want to migrate from a custom
We have a non-SSL ASP.NET web app that allows a user to login (ASP
I'm relatively new to django.. In the app that I'm building, there are multiple
I have a GWT+GAE web app with several service and modules. I am using

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.