Hello,

What is the appropriate way to invoke request processing on a jsp after all the bean
properties have been set?

For example:

class LoginBean
{
   String username;     // mapped to input on jsp
   String passwd;       // mapped to input on jsp
   String success;      // mapped to some value in jsp
   public void setUsername(String _username)  {...}
   public void setPasswd(String _passwd)  {...}
   public void authenticate()  { // check username and passwd against db }
};

How would one go about specifying the invocation the authenticate() in the
jsp so that it is done after usename and passwd are set from the parameters
in the request?

Thanks,
-Mary

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to