The problem is, that a Java variable is visible only in its parent
<xsp:logic>
It will work :
         <xsp:logic>
             Strubg upw = request.getParameter("password");
             String dbpw = new String(""); 
        <esql:execute-query>
        <esql:query>
                SELECT pw
                FROM ....
        </esql:query>
             <esql:results>
                  <esql:row-results>
                <xsp:logic>
                         dbpw = <esql:get-string> column='pw'/>;
                </xsp:logic>
                     </esql:row-results>
                 </esql:results>
        </esql:execute-query>

             if (dbpw.compareTo(upw) == 0)
             {  ... do something ... }
         </xsp:logic>
 
 
> Being very new to XSPs and new to how passwords are handled, 
> can anyone help me?
What kind of passwords?

Zsombor 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to