This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Server side validations

 
lokesh pushpa
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic