users@grizzly.java.net

Re: servletAdapter question

From: Richard Corsale <igf1_at_yahoo.com>
Date: Tue, 10 Mar 2009 17:02:55 -0700 (PDT)

ok , scratch that, I forgot that I had the form-url encoding set on the client. :-)

-- Richard



----- Original Message ----
From: Richard Corsale <igf1_at_yahoo.com>
To: users_at_grizzly.dev.java.net
Sent: Tuesday, March 10, 2009 6:03:01 PM
Subject: servletAdapter question


Hi All!

so, heres something interesting, when I send an & to a servlet in the servlet adapter, the param gets truncated. Ive read elsewhere that theres a setting for this, and I do have sa.addInitParameter("default-encoding", "UTF-8"); but no matter what, I get have this problem. Does anyone know how to address this?

example
1. I send this: command={"response":"success","messagetext":"success1 & success2","command":"chanel.subscribe"}
2. when I call request.getParameterValues("command"); I end up with: {"response":"success","messagetext":"success1

so its taking this ampersand litteraly and using it to seperate params in the post header... it's simple Im sure but its driving me crazzy :(
--Richard




----- Original Message ----
From: Richard Corsale <igf1_at_yahoo.com>
To: users_at_grizzly.dev.java.net
Sent: Monday, March 9, 2009 8:01:16 PM
Subject: OnInturupt issue


Hi all, I was just wondering where we were on the onInturupt issue? I seem to have narrowed the problem down to it ocurring within an XMLHttpRequest() object, it seems that even after the connection has been aborted and readystate=4 , the server just keeps on chugging witout an onInterupt ? anyone else having this issue?


--Richard



      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
For additional commands, e-mail: users-help_at_grizzly.dev.java.net


      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
For additional commands, e-mail: users-help_at_grizzly.dev.java.net