Re: HTTP Compression
Upload file thru activex or applet. Can't see anything to happen from browser(currently) otherwise. - Navjot Singh Shailender Jain wrote: Hi, Using the servlet 2.3 specification one can compress the data (gzip) while sending from server and uncompress on the client (Browser). Has anybody tried, if the reverse can be achieved i.e. the browser always sends a compressed data and webserver decompress it. This can be important when the user submit a form which has got huge data or uploads a text file. Can anything be done in the Action class while using request.getParameter("parameter_name") Regards Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HTTP Compression
Hi, Using the servlet 2.3 specification one can compress the data (gzip) while sending from server and uncompress on the client (Browser). Has anybody tried, if the reverse can be achieved i.e. the browser always sends a compressed data and webserver decompress it. This can be important when the user submit a form which has got huge data or uploads a text file. Can anything be done in the Action class while using request.getParameter("parameter_name") Regards Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTP Compression (Struts)
unless you have special reasons why do you wish to burden struts or web app with everything? why not use mod_gzip with apache and put tomcat/xyz behind apache? it gives good compression and you can define compression or no compression based on mime types. regards Navjot Singh Nathan Maves wrote: Yeah a lot of people. There was a thread on this very topic last week please check the archive before posting :) http://marc.theaimsgroup.com/?l=struts-user&m=109183678222344&w=2 Nathan On Aug 11, 2004, at 4:17 AM, Shailender Jain wrote: Hi, Has anybody used Http Compression technique for a web application developed using Struts Framework. Please provide the information Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTP Compression (Struts)
At 08:08 AM 8/11/2004, you wrote: Yeah a lot of people. There was a thread on this very topic last week please check the archive before posting :) http://marc.theaimsgroup.com/?l=struts-user&m=109183678222344&w=2 Nathan If you do a search on compression in the user messages, at www.servlets.com, for example, you really don't get much. There is the good one by Craig, which is enough. But not much other than that except stuff about ant compression. Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTP Compression (Struts)
Yeah a lot of people. There was a thread on this very topic last week please check the archive before posting :) http://marc.theaimsgroup.com/?l=struts-user&m=109183678222344&w=2 Nathan On Aug 11, 2004, at 4:17 AM, Shailender Jain wrote: Hi, Has anybody used Http Compression technique for a web application developed using Struts Framework. Please provide the information Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HTTP Compression (Struts)
Hi, Has anybody used Http Compression technique for a web application developed using Struts Framework. Please provide the information Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HTTP Compression
Servlet filters (javax.servlet.Filter) lets you do this. But... this is available in Servlets 2.3 and not in any earlier servlet specs. So check if your container provides support for 2.3 This link may give you some start but a google search would give you much more. http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html -Original Message- From: Eric Noel [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 4:45 PM To: Struts Users Mailing List Subject: Re: HTTP Compression Shailender Jain wrote: >Hi, > >I know this is not the right place to ask this question. > >Has anybody ever used HTTP compression and image compression techniques >so that the web page is downloaded extremely fast. > >Any pointers on this will be really helpful. > >Shailender Jain > > If youre using apache you can search on this modules : mod_gunzip or mod_gzip. /||/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTP Compression
Shailender Jain wrote: Hi, I know this is not the right place to ask this question. Has anybody ever used HTTP compression and image compression techniques so that the web page is downloaded extremely fast. Any pointers on this will be really helpful. Shailender Jain If youre using apache you can search on this modules : mod_gunzip or mod_gzip. /||/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Re: HTTP Compression
If only someone would do such a thing ! They would be rich beyond their wildest dreams. And they would probably use clustered linux servers in such a way that they could retrieve such information in a fraction of a second. Results 1 - 10 of about 7,410 for compression servlet filter. (0.40 seconds) Seriously... why do people keep replying to stuff that could just as easily be found on google ? I never ask anything on this list unless I'm certain that the answer isn't on google. Why do people keep replying to questions where the person asking the question can't be arsed doing so and just wants someone else to write their code for them. If you can't be bothered making the slightest effort. a) Quit your job b) Choose alternative career from list 1_ Dishwasher 2_ Action hero 3_ Captain of luxury boat 4_ Insert your career of choice here --b - Original Message - From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Fri, 6 Aug 2004 08:22:19 -0400 Subject: [OT] Re: HTTP Compression To: Struts Users Mailing List <[EMAIL PROTECTED]> If only someone would invent the technology that will allow us to query the vastness known as the Internet with a search string like, oh, "servlet filter" or even "compression servlet filter". "Shailender Jain" <[EMAIL PROTECTED]> 08/06/2004 08:10 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To Struts Users Mailing List <[EMAIL PROTECTED]> cc Subject Re: HTTP Compression Any pointers for these Servlet filter I have no idea how to approach. Emmanouil Batsis wrote: > Shailender Jain wrote: > > >Hi, > > > >I know this is not the right place to ask this question. > > > >Has anybody ever used HTTP compression and image compression techniques > >so that the web page is downloaded extremely fast. > > > > > > The usual way is to use a Servlet filter to compress the right content > for the right clients. There is little or no meaning in compressing > binary files (like images). > > Cheers, > > Manos > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HTTP Compression
Hi shailandar, I myself have not done the same but one of my associates in previous organization has had the experience in image compression. If you need, I may refer you that person. -regards - regards Raj (+91-11-31261821) -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 5:29 PM To: [EMAIL PROTECTED] Subject: HTTP Compression Hi, I know this is not the right place to ask this question. Has anybody ever used HTTP compression and image compression techniques so that the web page is downloaded extremely fast. Any pointers on this will be really helpful. Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTP Compression
Correct! What is the best way to make sure that the filter is only picking up content that should be compressed. i.e. we have some actions that produce images. I assume that you would filter on *.do or /do/* but this would include these actions. Would it be wise to check the response type before compressing? Nathan On Aug 6, 2004, at 6:09 AM, Emmanouil Batsis wrote: Shailender Jain wrote: Hi, I know this is not the right place to ask this question. Has anybody ever used HTTP compression and image compression techniques so that the web page is downloaded extremely fast. The usual way is to use a Servlet filter to compress the right content for the right clients. There is little or no meaning in compressing binary files (like images). Cheers, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] Re: HTTP Compression
If only someone would invent the technology that will allow us to query the vastness known as the Internet with a search string like, oh, "servlet filter" or even "compression servlet filter". "Shailender Jain" <[EMAIL PROTECTED]> 08/06/2004 08:10 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To Struts Users Mailing List <[EMAIL PROTECTED]> cc Subject Re: HTTP Compression Any pointers for these Servlet filter I have no idea how to approach. Emmanouil Batsis wrote: > Shailender Jain wrote: > > >Hi, > > > >I know this is not the right place to ask this question. > > > >Has anybody ever used HTTP compression and image compression techniques > >so that the web page is downloaded extremely fast. > > > > > > The usual way is to use a Servlet filter to compress the right content > for the right clients. There is little or no meaning in compressing > binary files (like images). > > Cheers, > > Manos > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTP Compression
Google does http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html Shailender Jain wrote: Any pointers for these Servlet filter I have no idea how to approach. Emmanouil Batsis wrote: Shailender Jain wrote: Hi, I know this is not the right place to ask this question. Has anybody ever used HTTP compression and image compression techniques so that the web page is downloaded extremely fast. The usual way is to use a Servlet filter to compress the right content for the right clients. There is little or no meaning in compressing binary files (like images). Cheers, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTP Compression
yeah there are filters available...!!! Puneet Agarwal Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Shailender Jain" <[EMAIL PROTECTED]> 08/06/2004 05:29 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> cc Subject HTTP Compression Hi, I know this is not the right place to ask this question. Has anybody ever used HTTP compression and image compression techniques so that the web page is downloaded extremely fast. Any pointers on this will be really helpful. Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ForwardSourceID:NT45A6 DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter.] Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTP Compression
Any pointers for these Servlet filter I have no idea how to approach. Emmanouil Batsis wrote: > Shailender Jain wrote: > > >Hi, > > > >I know this is not the right place to ask this question. > > > >Has anybody ever used HTTP compression and image compression techniques > >so that the web page is downloaded extremely fast. > > > > > > The usual way is to use a Servlet filter to compress the right content > for the right clients. There is little or no meaning in compressing > binary files (like images). > > Cheers, > > Manos > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTP Compression
Shailender Jain wrote: Hi, I know this is not the right place to ask this question. Has anybody ever used HTTP compression and image compression techniques so that the web page is downloaded extremely fast. The usual way is to use a Servlet filter to compress the right content for the right clients. There is little or no meaning in compressing binary files (like images). Cheers, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HTTP Compression
Hi, I know this is not the right place to ask this question. Has anybody ever used HTTP compression and image compression techniques so that the web page is downloaded extremely fast. Any pointers on this will be really helpful. Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]