File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Server side validations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Server side validations " Watch "Server side validations " New topic
Author

Server side validations

lokesh pushpa
Greenhorn

Joined: Nov 21, 2011
Posts: 23
Hi All,

I have to do check number validation in serverside. Can you please help me on this issue.
Requirement: I have one Check Number filed. It will accept only integer values. i have to implement server side validaitons for this.

I need stept by step process for this .... Please any body help me on this.....
Pongsakorn Semsuwan
Ranch Hand

Joined: May 15, 2011
Posts: 34

Just did a quick search and found this
http://stackoverflow.com/questions/1102891/how-to-check-a-string-is-a-numeric-type-in-java
and
http://www.coderanch.com/t/401142/java/java/check-if-String-value-numeric

So basically, in your Servlet, you just get your checkNo variable from jsp and then call your method to validate it


A web application developer wannabe from Thailand
My StartUp : http://www.dreamlog.co
Blog : http://pongsakornsemsuwan.wordpress.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Server side validations