Thanks for the suggestion Paul.
But the kind of design we have done is pretty sophisticated.
We don't do any logical operations in a JSP, everything is taken care by
Servlets and traditional
Java classes.
Let me explain the exact logic I'm looking to implement.
There is a JSP called "home.jsp". And there are links to navigate to different pages from this page. Certain operations can be performed only by an administrator. For example, if i want to delete the data of a student, I click on the "DeleteStudent.jsp" link. Our initial approach was to pass the Student name to the servlet, keep it in a session, redirect the user to the authentication page, authenticate him and then delete the data. But i thought this involved too many operations and pages.
Since I've seen so many sites in which if i hit a URL, a pop-up appears and once i'm authenticated, i can access the page.
I didn't get to know how to implement this using a Javascript as in a JS Popup, the password is not masked which is a huge concern.
So, please let me know how i can take this further.
Hope you have understood the scenario.
Thanks in advance again.