@POST
@Consumes("application/x-www-form-urlencoded")
@Produces("text/html")
@Path("/myTestPath")
public String createConsumerAccFromMdev(
@FormParam("email") String
email
{
System.out.println("createConsumerAccFromMdev: Entering ...");
System.out.println("createConsumerAccFromMdev: email ==" + email);
if (email == null) {
return "-99";
} else {
return "123";
}
}
--
[Message sent by forum member 'arthury']
View Post: http://forums.java.net/node/840568