It seems that you are using http get method. You probably need to encode the
"%" characters in your request parameters.
Try using %25 instead of %.

-JJ

Witold Iwaniec wrote:

> Hi all
>
> In my servlet application I need to allow users to use wildcards in
> queries. The Oracle wildcard character is the "%" so e.g. in the user
> could type street name as: "Uni%" instead of "University"
> But if I use the "%", the URL parameters get messed up. For example
> if I have on my page textboxes STREET_NO and STREET_NAME and
> fill:
> STREET_NO: 2%
> STREET_NAME: UNI%
>
> in the request URL I don't see STRETE_NO and STREET_NAME
> appears as: 2 TREET_NAME with unprintable character.
> Sometimes the value is changed.
>
> I believe the "%" has special use in servlet request/response. I guess I
> could change the wildcard to a "*" or something else. But wonder if
> there is a way to handle the % properly
>
> Thanks
>
> Witold
>
> ==================================
> Witold Iwaniec
> Sr Software Developer
> NovaLIS Technologies
> [EMAIL PROTECTED]
> http://www.novalistech.com
>
> To change your membership options, refer to:
> http://www.sys-con.com/java/list.cfm


To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to