Fixed 3 bugs: 1) If there is a call to this class without an "action" (i.e. the initial time the login form is loaded) a null pointer exception would be thrown. 2) If the user logged out, and then tried to query, the server would send an error (invalidated session) 3) When the code is compiled under 1.4, the usages of StringBuilder would error. Replaced them with StringBuffer.
Fixed 3 bugs:
1) If there is a call to this class without an "action" (i.e. the initial time the login form is loaded) a null pointer exception would be thrown.
2) If the user logged out, and then tried to query, the server would send an error (invalidated session)
3) When the code is compiled under 1.4, the usages of StringBuilder would error. Replaced them with StringBuffer.