Suryaakk Mandal

Greenhorn
+ Follow
since Sep 07, 2017
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Suryaakk Mandal

I have created simple form accepting address and country, whenever I enter text having # character in address field, in validator it trims all char from # to end also sets other bean variables as null.



and in validator address always trims # char and trailing characters also country is set as null when address contains # character.
I googled lot about but not found anything on this.

@Override
  public void validate()
  {
     if(location.getCountry().equalsIgnoreCase("US")) //getCountry is null when # is in address.
     {
        //TODO
     }
  }

Does Struts OGNL consider # as id selector.
3 years ago
I have created simple form accepting address and country, whenever I enter text having # character in address field, in validator it trims all char from # to end also sets other bean variables as null.



and in validator address always trims # char and trailing characters also country is set as null when address contains # character.
I googled lot about but not found anything on this.


3 years ago