cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bößem" <>
Subject using xsp
Date Tue, 17 Jun 2003 16:24:28 GMT

i am quite unexperienced within cocoon, espacially when it comes to the
use of java within xsp documents.

anyway, i am trying to do - in the fist step - a simple email
validation. To test if and how xsp documents have to structured i wrote
a simle code, to check if it works.

Unfortunatly it doesn't

the xsp code is the following:

    String msg = "";
    String input = "" ;
    Pattern pattern = Pattern.compile("@");
    Matcher matcher = pattern.matcher( input );
      if (matcher.find()) {
        msg = "valide email";
      else {
        msg = "not valid";

Does anyone know what i have done wrong.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message