Can I Programmatically Create FTP Accounts With Azure?

How can I create accounts in java programming?

  • am supposed to create a program that lets people manage music accounts. For example there is a text that has songs, followed by artists, followed by categories. The user can modify, read and delete items in the array (songs, etc in the text) I need to have "accounts" on my java program. For example the java program will ask what is your name. I will say Bob and it will bring me to my music collection. How can I have several accounts in one program. If statements???? I am new to java. Can you summarize a plan for me or link me a specific tutorial?

  • Answer:

    Generally this is done by storing a table of usernames and passwords (usually hashed) in a MySQL database. You could probably use a text file for a simple example program. The user goes to the index JSP page and enters a username and password into a form. The form is sent to another page (usually a Java Servlet) which looks up the username and checks the password. If the login is a failure the servlet forwards back to the index page with an error message. If the login was a success the servlet forwards to the appropriate page and probably sets a cookie as well as a session attribute.

Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Generally this is done by storing a table of usernames and passwords (usually hashed) in a MySQL database. You could probably use a text file for a simple example program. The user goes to the index JSP page and enters a username and password into a form. The form is sent to another page (usually a Java Servlet) which looks up the username and checks the password. If the login is a failure the servlet forwards back to the index page with an error message. If the login was a success the servlet forwards to the appropriate page and probably sets a cookie as well as a session attribute.

galt_57

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.