> Hi,
> Currently am working on Netscape 4.61,am doing client server project
> (internet base) and client end I use standard HTML and server end Java
> Servlets(jsdk2.1)
>
> I did not have any browser problem so far, But When I test the
system(client
> side) using IE 4.0 and also using IE5 it gives a SQL exception error where
as
> in NETScape 4.61 it was not available,I do use databse retrieval and
> update,that's ok, but My question is why it's only for Internet
Explorar,infact
> I do not use Java scripts in that problematic interface.
>
You need to make sure that any parameters are properly URLEncoded
before they are sent to the web server so if you are building your parameter
strings outside of a form and say a parameter value has a space in it it
will break for
IE all the time.
I had exactly this problem, solution is to build your parameter strings like
this....
foreach parameter value,name)
parameterString += URLEncoder.encode(name)+"="+URLEncoder.encode(value)
if more parameters add "&"
endForeach
build the entire link and then response.encodeUrl() it to ensure sessionid
propogation where
needed.
Hope that helps
Andy Bailey
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html