Thanks neelesh for the reply..It will work only when you have one query parameter but in our case we had two query parameters, For some pages one queryparameter will be used and for some pages the other queryparameter will be used in the same html.For Example : ?q=&tag=For that purpose I was validat...