Hi,
I am new to
Servlets and
JSP and am trying to write a simple web site where a user is able to register and then login. When I try to register I keep getting a stack overflow error.
User Class:
Customer Class:
Register JSP:
Login JSP:
Register Success JSP:
Login success jsp:
So, when I actually run my Register JSP page, fill in the form and press submit, I get the following error:
Exception in
thread "http-bio-8080-exec-3" java.lang.StackOverflowError at java.util.ArrayList.<init>(Unknown Source)
I dont get any such error for my login jsp page (I am currently using dummy logic checks for the purpose of getting something up and running for the login process).
I know that a stack overflow error is caused by a call to some method or another which causes the stack to grow infinitely but as I am new to both Servlets and JSP I am unable to see where this is happening.
Can someone help me please.
Thanks,
MoSha