Unanswered: ask for username and password when connecting
this is kinda a stupid question i think, but i'm a beginner so bear with me please. i'm just set up SQL Server 2000 on my server machine, which also has the web server set up on it that holds my applet which connects to SQL Server through the JDBC driver. my question is since multiple people will be accessing the applet at the same time, i want a prompt to come up, ask people for their SQL Server password and username to connect, and then use that info to connect.
IS it ok if i just create a dialog which asks for that info, and save the information to a variable, and use that in the Connection con = blah blah line?