I am just getting "undefined" in the place of all the form elements(username textfield,password textfield and submit button).I am using Struts 2.0.6.
newton.dave wrote: > > Jaarthy wrote: >> I am trying to implement AJAX login form using this example from >> http://www.roseindia.net/struts/struts2/struts2ajax/ajax-login-form.shtml >> if username or password is not enetered,I dont get the error >> message,instead >> I get undefined error and my username textfield and password textfield >> and >> also the submit button disappears. >> But If user is successfully authenticated,I get the specified login >> success >> page inside the div instead of getting it in a seperate page. > > You'll have to be a bit more specific, I suspect, particularly regarding > the error message you're seeing, the JSP you're using, the > configuration, and which version of Struts 2. > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Ajax-login-Form-in-Struts2-tp21567220p21567547.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org