Hello,

Wonder if any of you can help me, I am trying to write using JSP (no beans
or anything at this stage) which authenticates a user using the
getRemoteUser() method. Not difficult to do this I know, however being new
to JSP I am wondering if and how I can throw an exception if what is
returned from getRemoteUser() does not meet my criteria, if it does meet my
criteria I need to call another method which does further validation before
storing the results.

I have been looking at this for about three hours and seem to just go round
in circles... can anyone point me in the right direction or highlight some
code snippets they have used in the past to do this, I will endeavour to
return the favour in future!

Cheers

Dave

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to