Hi All,
I have a strange problem with my filter, if it runs then some part missing end of the html sites....
I tried to find a logic behind but for me seems to be random or depends maybe how big is the site (?)
This is how my filter looks like:
chain.doFilter(request, wrapper);
String myresp= wrapper.toString();
response.setContentLength(responseString.length());
response.getWriter().write(responseString);
I'm not sure if there is something what I'm doing wrong, or why is this strange cutting happens...
Do I use wrongly String data type as my response?
I have a strange problem with my filter, if it runs then some part missing end of the html sites....
I tried to find a logic behind but for me seems to be random or depends maybe how big is the site (?)
This is how my filter looks like:
chain.doFilter(request, wrapper);
String myresp= wrapper.toString();
response.setContentLength(responseString.length());
response.getWriter().write(responseString);
I'm not sure if there is something what I'm doing wrong, or why is this strange cutting happens...
Do I use wrongly String data type as my response?