0

On client side i am using jQuery and JSP and server side i am using Spring MVC. My question is can we send and receive data in compressed format i.e a client and server will exchange its data in a compressed format. How can i do that? please anybody explain me in brief. An example be too good.

user1802597
  • 175
  • 1
  • 1
  • 14

1 Answers1

1

you can try GZIP-ing the response sent from the server. This link might help .

sidenote: AFAIK, JSP is server side, not client side

Community
  • 1
  • 1
andri
  • 1,021
  • 1
  • 9
  • 16
  • JSP HTML/JS/CSS is client side, scriptlets, JSTL and other tags are executed at server side. – Luiggi Mendoza Feb 24 '13 at 01:11
  • @LuiggiMendoza : HTML/JS/CSS is client side, and JSP can be used to generate them. But JSP itself is server side, it is in the same league with PHP or ASP. Please check the tag info for [JSP](http://stackoverflow.com/tags/jsp/info). – andri Feb 24 '13 at 01:45
  • I never neglected that, just clarifying. – Luiggi Mendoza Feb 24 '13 at 01:48