由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - A good way to compress client side data?
相关主题
java virtual machine 急问!!在线等Help with Java Swing Applet
encrypt the compressed fileA design for parameter passing
How do a Servlet sent a Applet?Axis vs. XFire?
如何在服务器端跟踪Java的运行?新手学习web service,有人想一起做点project吗?
JDK 1.5 is outHow to delete an entry in JAR?
Sun's Java Tutorial problem: failed to load appletHow to write a file to the same directory of the class file?
Suse Linux 下 Java Applet 无法输入,谁见过类似问题?how to improve performance for web service
请问现在最常用的开放SSL平台是什么heap dump 请教
相关话题的讨论汇总
话题: compress话题: option话题: applet话题: file话题: data
进入Java版参与讨论
1 (共1页)
g**********y
发帖数: 14569
1
I need to compress data with javascript and send to server.
Option 1: gzip implementation in js, I don't see a good library, and it is
said the performance in pure js is poor.
Option 2: use applet. With JDK 1.6, it has problem when "Next generation
Java plug-in" is enabled.
Any ideas? thx
m******t
发帖数: 2416
2
Another option would be one of those flash based file uploaders
which support compression, and, uh, more browser friendly than
applet.

【在 g**********y 的大作中提到】
: I need to compress data with javascript and send to server.
: Option 1: gzip implementation in js, I don't see a good library, and it is
: said the performance in pure js is poor.
: Option 2: use applet. With JDK 1.6, it has problem when "Next generation
: Java plug-in" is enabled.
: Any ideas? thx

g**********y
发帖数: 14569
3
What I want to compress is some CDATA section of XML, not all of them. Can
those file uploaders handle it?
Any example website?

【在 m******t 的大作中提到】
: Another option would be one of those flash based file uploaders
: which support compression, and, uh, more browser friendly than
: applet.

m******t
发帖数: 2416
4

That's a different story then. I thought you wanted to upload some huge file
but
for some reason didn't want to use a straight file upload field.
Where does your javascript get so much data if not from a local file? :)

【在 g**********y 的大作中提到】
: What I want to compress is some CDATA section of XML, not all of them. Can
: those file uploaders handle it?
: Any example website?

g**********y
发帖数: 14569
5
It's not that big, XML file. However, client's terminal is very slow, using
phone line, so compress is crucial.
Anyway, I found the way out: still use applet, but call from js. IE8 fail to
call applet from vbscript, but has no problem to call from javascript. What
an irony!

file

【在 m******t 的大作中提到】
:
: That's a different story then. I thought you wanted to upload some huge file
: but
: for some reason didn't want to use a straight file upload field.
: Where does your javascript get so much data if not from a local file? :)

Z*****Z
发帖数: 723
6


using
to
What

【在 g**********y 的大作中提到】
: It's not that big, XML file. However, client's terminal is very slow, using
: phone line, so compress is crucial.
: Anyway, I found the way out: still use applet, but call from js. IE8 fail to
: call applet from vbscript, but has no problem to call from javascript. What
: an irony!
:
: file

m******t
发帖数: 2416
7

using
I'm glad you worked it out, but you do know that modems have had built-in
compression support for the past 15 years?

【在 g**********y 的大作中提到】
: It's not that big, XML file. However, client's terminal is very slow, using
: phone line, so compress is crucial.
: Anyway, I found the way out: still use applet, but call from js. IE8 fail to
: call applet from vbscript, but has no problem to call from javascript. What
: an irony!
:
: file

g**********y
发帖数: 14569
8
Customer want compression, and we HAVE TO make them happy.
Actually I don't know what customer use in their production side. All I know
is that they said it is critical to have that compression feature.

【在 m******t 的大作中提到】
:
: using
: I'm glad you worked it out, but you do know that modems have had built-in
: compression support for the past 15 years?

m******t
发帖数: 2416
9
I hear you... Can't argue with The Customer. :)

know

【在 g**********y 的大作中提到】
: Customer want compression, and we HAVE TO make them happy.
: Actually I don't know what customer use in their production side. All I know
: is that they said it is critical to have that compression feature.

1 (共1页)
进入Java版参与讨论
相关主题
heap dump 请教JDK 1.5 is out
ZK vs ClickSun's Java Tutorial problem: failed to load applet
Re: How to write to a file on server in an applet?Suse Linux 下 Java Applet 无法输入,谁见过类似问题?
a question regarding applet请问现在最常用的开放SSL平台是什么
java virtual machine 急问!!在线等Help with Java Swing Applet
encrypt the compressed fileA design for parameter passing
How do a Servlet sent a Applet?Axis vs. XFire?
如何在服务器端跟踪Java的运行?新手学习web service,有人想一起做点project吗?
相关话题的讨论汇总
话题: compress话题: option话题: applet话题: file话题: data