I 'm trying to figure out a way of customer login into a website through
JavaServer Pages. The idea is to confirm their login with a SELECT
statement from an Oracle table, and if the SELECT succeeds, to forward
the clients to a new page (with their usernames and passwords checked
from now on through http session attributes).
The problem is that I haven't been able to "hold back" the whole
procedure of forwarding to a new page, until the SELECT succeds (and of
course if it fails, then redirect to login.jsp)
Or, in other words, make the <jsp:forward .../> *ONLY* if the SELECT
statement in the database succeeds, ELSE redirect to the login.jsp page.
Thanx in advance for any ideas
Your friends will understand you.
Your enemies will never believe you anyway.