• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Server side validations

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.....
 
Ranch Hand
Posts: 34
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
https://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

reply
    Bookmark Topic Watch Topic
  • New Topic