Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Putting up Textbox for user log in

 
Douglas Kent
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am not that familiar with Javascript, so hopefully all you experts out there will have an answer on this easy question...I have a JSP page that will validate users based on their certificate if they come in on the https address. If they come in on http, though, I would like to pop up a Javascript input box, get their user id and password, validate it (I've got this part) and send them on to the page. What Javascript object will do this for me?
thanks...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65109
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What Javascript object will do this for me?


That depends on what "this" is. You've described a highly complex mechanism. Obviously there's no JS object that does all that automatically. What part are you looking for? The dialog box?
 
Douglas Kent
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct, dialog box...
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don;t you do the classic login page or just redirect them from http to the https where the login should happen?

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic