• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use IP Address as the search criteria?

 
Max Bean
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's gonna be fine if I have two String objects like "192.168.1.1" and "192.168.1.2" and so on. I have some idiot algorithm to compare it all by using the split method and doing something like million loops for get the value I want.

The problem is one value (to compare) is the criteria but another ones is the String which were stored in the database.

I don't want you to do homework for me. Just a little suggestion will be highly appreciated.

Many Thnx
Max
 
Arun Kumarr
Ranch Hand
Posts: 661
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is one value (to compare) is the criteria but another ones is the String which were stored in the database.


- Explain in more detail? What do you mean by criteria here?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic