struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: HTTP POST request header changing in Internet Explorer
Date Mon, 18 Jul 2016 06:23:56 GMT
Hi

As far I understand it's an AJAX request, right? If so action answers
with text/html which is wrong. Hard to say anything else as your mail
was formatted very badly :\


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2016-07-15 9:31 GMT+02:00 punter <p_saurabh92@rediffmail.com>:
> Hi,I have a Struts 2 application with Tomcat 7 that runs on a proxy network. In one partcular
case while browsing the applicationit was observed that simply navigating one particular screen
multiple times raised a NoSuchMethodException exception once.This was observed in IE-10 browser
running on Windows 8. It was occuring on a single system only and could not be reproduced
on other systems..The request as obatined in Tomcat catalina logs is as follows:192.168.103.105
- - [14/Jul/2016:15:41:54 +0000] &quot;POST /application/framework/SessionAction.action
HTTP/1.1&quot; 200 105192.168.103.105 - - [14/Jul/2016:15:41:54 +0000] &quot;POST
/application/framework/SessionAction.action HTTP/1.1&quot; 200 105192.168.103.105 - -
[14/Jul/2016:15:41:55 +0000] &quot;CHEDFLAG=TRUEPOST /application/framework/SessionAction.action
HTTP/1.1&quot; 200 58209Also when used Internet Explorer to debug the request we get the
following details for the problem scenario:Request HeadersKey&nbsp;&nbsp; &nbsp;Valu
>  eRequest&nbsp;&nbsp; &nbsp;POST http://192.168.133.120/Myapp/application/rpc_SessionAction.action
HTTP/1.1Referer&nbsp;&nbsp; &nbsp;http://192.168.133.120/application/Content-Type&nbsp;&nbsp;
&nbsp;application/x-www-form-urlencodedX-Requested-With&nbsp;&nbsp; &nbsp;XMLHttpRequestAccept&nbsp;&nbsp;
&nbsp;application/json, text/javascript, */*Accept-Language&nbsp;&nbsp; &nbsp;en-IN,en;q=0.8,ja;q=0.6,zh-Hans-CN;q=0.4,zh-Hans;q=0.2Accept-Encoding&nbsp;&nbsp;
&nbsp;gzip, deflateUser-Agent&nbsp;&nbsp; &nbsp;Mozilla/5.0 (compatible; MSIE
10.0; Windows NT 6.2; WOW64; Trident/6.0)Host&nbsp;&nbsp; &nbsp;192.168.133.120:8585Content-Length&nbsp;&nbsp;
&nbsp;26DNT&nbsp;&nbsp; &nbsp;1Proxy-Connection&nbsp;&nbsp; &nbsp;Keep-AlivePragma&nbsp;&nbsp;
&nbsp;no-cacheCookie&nbsp;&nbsp; &nbsp;JSESSIONID=7FE4DE04F3558B46B7D8252645ABFB5A;
JSESSIONID=D4FD5A0D120AD35414A4E16C406DD06FRequest Bodymethod=fetch&amp;names=tmpValResponse
HeadersKey&nbsp;&nbsp; &nbsp;ValueResponse&nbsp;&nbsp; &nbsp;HTTP/1.0
200 OKS
>  erver&nbsp;&nbsp; &nbsp;Apache-Coyote/1.1Content-Type&nbsp;&nbsp;
&nbsp;text/html;charset=utf-8Date&nbsp;&nbsp; &nbsp;Thu, 14 Jul 2016 15:41:55
GMTX-Cache&nbsp;&nbsp; &nbsp;MISS from gateway1X-Cache-Lookup&nbsp;&nbsp;
&nbsp;MISS from gateway1Via&nbsp;&nbsp; &nbsp;1.0 gateway1This request in
the Struts filter gives null entry set. Why does the POST request get changed in this case
and also entry set bencomes null?Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message