Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to use <jsp:forward>

843835Jan 10 2003 — edited Jan 13 2003
I would like to know how to display an error message on the same page as the registration form...my code is below, but the error comes on a new page...could anyone please give me some help on how to display the error on same page?

while(SQLResult.next())
{
email2 = SQLResult.getString(1);
if(email.equalsIgnoreCase(email2))
{
verify=true;
out.println("email already exists, please type another one");
}

}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 10 2003
Added on Jan 10 2003
6 comments
223 views