wood burning stoves 2.0*
The moose likes Servlets and the fly likes Validator Framework with Servlets? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Validator Framework with Servlets?" Watch "Validator Framework with Servlets?" New topic
Author

Validator Framework with Servlets?

Nate Leech
Ranch Hand

Joined: Feb 07, 2005
Posts: 43
Hi!
I've been using the validator Framework that came with struts for struts work. A coo-worker is working on an application using Servlets/Jsp and wants to do something that I know the validator framework does. I know that this framework is able to be used on other things besides struts, but I haven't had any luck finding examples of its use with Servlets/Jsp. Anyone know where I could look or have a simple example? Thanks for any help!!

-Nate
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Have you tried the validator site?
http://jakarta.apache.org/commons/validator/


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Nate Leech
Ranch Hand

Joined: Feb 07, 2005
Posts: 43
Yes I checked there first, I could not find anything on the subject.

Am I not looking hard enough?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Maybe, but it would be understandable.

This Google search:
http://www.google.com/search?hl=en&q=site%3A+jakarta.apache.org+validator+example&btnG=Google+Search

yielded:
http://struts.apache.org/userGuide/dev_validator.html

It would be nice if there was a link to this guide on the validator site.
Maybe it's there and we're both missing it.
Nate Leech
Ranch Hand

Joined: Feb 07, 2005
Posts: 43
Right, that's a good example for someone using struts. I'm looking for one that shows a way to use it with only jsp/servlets.

Looking back on my post, I can see how I could have been misunderstood, sorry about that.

-Nate
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I didn't look at that one long enough to realize it was struts specific.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validator Framework with Servlets?