Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes Putting up Textbox for user log in Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Putting up Textbox for user log in" Watch "Putting up Textbox for user log in" New topic
Author

Putting up Textbox for user log in

Douglas Kent
Ranch Hand

Joined: Oct 06, 2000
Posts: 171
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

Joined: Jan 10, 2002
Posts: 56157
    
  13

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?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Douglas Kent
Ranch Hand

Joined: Oct 06, 2000
Posts: 171
Correct, dialog box...
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
Why don;t you do the classic login page or just redirect them from http to the https where the login should happen?

Eric
 
I agree. Here's the link: http://jrebel.com/download
 
subject: Putting up Textbox for user log in
 
Similar Threads
request attributes in new request from javascript?
Restricting user to upload a CSV file
HTML (Application page) not automatically loading
passing data from JSP to html page
Need Suggestion in page redirect after some time