[Esapi-user] java.lang.NoClassDefFoundError: org/owasp/validator/html/PolicyException

Fabio Cerullo fcerullo at gmail.com
Mon Jan 30 11:30:58 UTC 2012


Have you tried these?

http://code.google.com/p/owasp-esapi-java/issues/detail?id=138

Fabio

On Mon, Jan 30, 2012 at 6:55 AM, Prashmit Tanay <prashmittanay at gmail.com>wrote:

> Hello,
>
> I am trying an Input Validation using the ESAPI 1.4.4. I am constantly
> getting a java.lang.NoClassDefFoundError:
> org/owasp/validator/html/PolicyException error.
>
> I am using Eclipse EE IDE 1.4.2
> ESAPI version: 1.4.4
> Java: 1.6
>
> protected void doGet(HttpServletRequest request, HttpServletResponse
> response) throws ServletException, IOException {
>  response.setContentType("text/html");
> PrintWriter out=response.getWriter();
>  String email=request.getParameter("email");
> try{
> Validator validator=ESAPI.validator();
>  boolean b=validator.isValidInput("Email_validity", email, "Email", 50,
> false);
> out.print("Result: " +b);
>  }
> catch(Exception e){
>  }
>  }
>
> --
> Prashmit Tanay
>
> _______________________________________________
> Esapi-user mailing list
> Esapi-user at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/esapi-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/esapi-user/attachments/20120130/d86e21ab/attachment.html>


More information about the Esapi-user mailing list