I use Javascript on the client side for this. Something like:
if (myform.email.value.search(/^[a-zA-Z0-9\-\.]+\@[a-zA-Z0-9\-\.]+$/)
== -1)
alert('ERROR: Badly formatted E-mail address.');
error = 1;
return;
}
Gert Koning
University of South Africa
- Origin
ht on this?
Thanx,
Gert Koning
University of South Africa
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/product
The site looks great! Just curious, what JSP engine are you using?
Gert Koning
- Original Message -
From: <[EMAIL PROTECTED]>
Sent: Monday, April 17, 2000 09:02
Subject: A Live Fully Functional Database Application in JSP
> Hi Everyone,
>
> If you are looking
ie.setPath("/");
res.addCookie(secondCookie);
Any suggestions?
Gert Koning
University of South Africa
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servl
, "string1");
firstCookie.setPath("/");
res.addCookie(firstCookie);
Cookie secondCookie = new Cookie("cookie2", "string2");
secondCookie.setPath("/");
res.addCookie(secondCookie);
I am using Tomcat 3.0 on Lin