tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lisa Hatch <lha...@trustdst.com>
Subject Re: Simple JSTL SQL update fails,but only when parameters come from Netscape 4.x browser
Date Mon, 15 Jul 2002 16:07:59 GMT
Don't know if this will help, but Netscape handles encoding differently
from other browsers if a parameter contains a space, so if you are doing
a GET as the post method on your form instead of POST you may want to
look at the following that I googled....

Development Tips
... Although Internet Explorer (IE) processes spaces in parameters,
Netscape doesn't.
So you must encode parameters that include only spaces as well as
strings ... 
developer.novell.com/ndk/doc/imgrsdk/ emf__enu/data/aechbi8.html 
"Although Internet Explorer (IE) processes spaces in parameters,
Netscape doesn't. So you must encode parameters that include only spaces
as well as strings which include the other special characters. All
<href> and <action> data is automatically unencoded when it reaches the
server. If you are using a WebAccess VAR keyword from the property
object, you encode them as explained above using the urlEncode()
function as follows:"

Good luck!

Shawn Bayern wrote:
> 
> On Sat, 13 Jul 2002, John Hicks wrote:
> 
> > Everything works fine, that is, *unless* the form is posted from the
> > Netscape 4.73 browser!! (It works fine coming from Konqueror and Opera
> > 6.0 and Netscape 7 (all running under Linux) and from IE6.0 and Opera
> > 6.01 running in Windows.
> >
> > But when the request comes from Netscape 4.73, I get a stack trace
> > (which I'll post at the bottom of this message).
> 
> It sounds like a parameter isn't coming through on Netscape 4.73.  This is
> a little perplexing, since to my knowledge, Netscape 4.73 behaves
> similarly to other browsers with respect to how it submits empty form
> fields.  To debug the problem, walk through all of the parameters you're
> using in <sql:param> tags manually (e.g., using the same exprssions with
> <c:out>) to determine which one is failing.  Then walk backwards to the
> form itself and determine whether the problem lies with Netscape or
> elsewhere.
> 
> --
> Shawn Bayern
> "JSTL in Action"   http://www.jstlbook.com
> (coming in July 2002 from Manning Publications)
> 
> --
> To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message