File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes Validation of Ranch Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Validation of Ranch" Watch "Validation of Ranch" New topic
Author

Validation of Ranch

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1268

Not sure whether this is the right place to put this request, but anyways not able to figure out the correct place for it. Well is it possible to see the validation code used for JAVARANCH?? like I right now I am writing this request and want to know how you guys validate it for eg. not accepting chatting/SMS formats etc. etc. (Want to see some standard code and learn ) Is it possible???

Thanks
K


No Kaustubh No Fun, Know Kaustubh Know Fun..
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

It's not clear what exactly you are asking about.
Kaustubh G Sharma wrote: eg. not accepting chatting/SMS formats etc. etc. (Want to see some standard code and learn ) Is it possible???


Not accepting where?


[My Blog] [JavaRanch Journal]
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1268

Jaikiran Pai wrote:It's not clear what exactly you are asking about.
Kaustubh G Sharma wrote: eg. not accepting chatting/SMS formats etc. etc. (Want to see some standard code and learn ) Is it possible???


Not accepting where?


Hi Jai,

Like we are not allow to put short words that we generally do in chatting/sms.. eg. we write 'u' instead in you likewise
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

Moved to the right forum.

Like we are not allow to put short words that we generally do in chatting/sms.. eg. we write 'u' instead in you likewise


The code for that does a simple regex check against the post text. Here's a tutorial for regular expressions http://docs.oracle.com/javase/tutorial/essential/regex/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validation of Ranch
 
Similar Threads
Can i Use my action to throw error
Design advice needed. Data validation
Separating the business logic from the gui components
where to validate username password in struts