download a small file from tomcat server

2010-02-12 Thread albertkao

I like to download a small file (C:\dir1\data.txt) from tomcat server to my
local machine which is running a Prototype javascript.
How to do that?
Any sample code or tutorial?
-- 
View this message in context: 
http://old.nabble.com/download-a-small-file-from-tomcat-server-tp27564758p27564758.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: download a small file from tomcat server

2010-02-12 Thread Joseph Morgan
Albert,

This is a topic for a web programming forum, not a Tomcat forum.  

In the meantime, just copy the file to your local machine, create an
HTML page with a link to the file, and test your JS.   If in tomcat,
stick the file in the tomcat root, create an HTML page with a link to
the file, and then hit tomcat to test your JS.


-Original Message-
From: albertkao [mailto:albertk...@gmail.com] 
Sent: Friday, February 12, 2010 8:55 AM
To: users@tomcat.apache.org
Subject: download a small file from tomcat server


I like to download a small file (C:\dir1\data.txt) from tomcat server to
my
local machine which is running a Prototype javascript.
How to do that?
Any sample code or tutorial?
-- 
View this message in context:
http://old.nabble.com/download-a-small-file-from-tomcat-server-tp2756475
8p27564758.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: download a small file from tomcat server

2010-02-12 Thread albertkao


Joseph Morgan-2 wrote:
 
 Albert,
 
 This is a topic for a web programming forum, not a Tomcat forum.  
 
 In the meantime, just copy the file to your local machine, create an
 HTML page with a link to the file, and test your JS.   If in tomcat,
 stick the file in the tomcat root, create an HTML page with a link to
 the file, and then hit tomcat to test your JS.
 
 
 -Original Message-
 From: albertkao [mailto:albertk...@gmail.com] 
 Sent: Friday, February 12, 2010 8:55 AM
 To: users@tomcat.apache.org
 Subject: download a small file from tomcat server
 
 
 I like to download a small file (C:\dir1\data.txt) from tomcat server to
 my
 local machine which is running a Prototype javascript.
 How to do that?
 Any sample code or tutorial?
 -- 
 View this message in context:
 http://old.nabble.com/download-a-small-file-from-tomcat-server-tp2756475
 8p27564758.html
 Sent from the Tomcat - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

What is the proper forum to ask the question?
The goal is to refresh a JSP web page on a web browser when the Apache Derby
DB database on the server is changed.
The rate of database change is 1-10 times per hour.
The record size is about 1000 bytes.
The user use the browser to modify the data and write back to the Apache
Derby DB database.
The web server is tomcat.
I am thinking of comet programming - pushing data from the server to client
when the Derby DB is changed.
Is that a good idea?
How to do that with javascript or java?
Any sample code or tutorial? 


-- 
View this message in context: 
http://old.nabble.com/download-a-small-file-from-tomcat-server-tp27564758p27565937.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: download a small file from tomcat server

2010-02-12 Thread Pid

On 12/02/2010 16:21, albertkao wrote:



Joseph Morgan-2 wrote:


Albert,

This is a topic for a web programming forum, not a Tomcat forum.

In the meantime, just copy the file to your local machine, create an
HTML page with a link to the file, and test your JS.   If in tomcat,
stick the file in the tomcat root, create an HTML page with a link to
the file, and then hit tomcat to test your JS.


-Original Message-
From: albertkao [mailto:albertk...@gmail.com]
Sent: Friday, February 12, 2010 8:55 AM
To: users@tomcat.apache.org
Subject: download a small file from tomcat server


I like to download a small file (C:\dir1\data.txt) from tomcat server to
my
local machine which is running a Prototype javascript.
How to do that?
Any sample code or tutorial?
--
View this message in context:
http://old.nabble.com/download-a-small-file-from-tomcat-server-tp2756475
8p27564758.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





What is the proper forum to ask the question?


This list is generally for people having problems installing, 
configuring or operating the Tomcat application server.



The goal is to refresh a JSP web page on a web browser when the Apache Derby
DB database on the server is changed.
The rate of database change is 1-10 times per hour.
The record size is about 1000 bytes.
The user use the browser to modify the data and write back to the Apache
Derby DB database.
The web server is tomcat.
I am thinking of comet programming - pushing data from the server to client
when the Derby DB is changed.
Is that a good idea?
How to do that with javascript or java?
Any sample code or tutorial?


You're probably looking for a tutorial website or forum.

This list is usually best at providing assistance when someone asks a 
specific question, (where we're able to provide specific answers), 
rather than showing you how to write an application.



p

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: download a small file from tomcat server

2010-02-12 Thread Joseph Morgan
Go to the sun forums, sign up there, and then proceed to the correct
area and ask your questions there.

What you are asking is all very primitive programming, and many there
will be able to give you answers.  

As a friendly hint, some out there are very abrasive towards these kinds
of questions, as just about any reasonable search on JSP, DB, and server
push (comet) will wield about 100 tutorials.

Joe

-Original Message-
From: albertkao [mailto:albertk...@gmail.com] 
Sent: Friday, February 12, 2010 10:21 AM
To: users@tomcat.apache.org
Subject: RE: download a small file from tomcat server



Joseph Morgan-2 wrote:
 
 Albert,
 
 This is a topic for a web programming forum, not a Tomcat forum.  
 
 In the meantime, just copy the file to your local machine, create an
 HTML page with a link to the file, and test your JS.   If in tomcat,
 stick the file in the tomcat root, create an HTML page with a link to
 the file, and then hit tomcat to test your JS.
 
 
 -Original Message-
 From: albertkao [mailto:albertk...@gmail.com] 
 Sent: Friday, February 12, 2010 8:55 AM
 To: users@tomcat.apache.org
 Subject: download a small file from tomcat server
 
 
 I like to download a small file (C:\dir1\data.txt) from tomcat server
to
 my
 local machine which is running a Prototype javascript.
 How to do that?
 Any sample code or tutorial?
 -- 
 View this message in context:

http://old.nabble.com/download-a-small-file-from-tomcat-server-tp2756475
 8p27564758.html
 Sent from the Tomcat - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

What is the proper forum to ask the question?
The goal is to refresh a JSP web page on a web browser when the Apache
Derby
DB database on the server is changed.
The rate of database change is 1-10 times per hour.
The record size is about 1000 bytes.
The user use the browser to modify the data and write back to the Apache
Derby DB database.
The web server is tomcat.
I am thinking of comet programming - pushing data from the server to
client
when the Derby DB is changed.
Is that a good idea?
How to do that with javascript or java?
Any sample code or tutorial? 


-- 
View this message in context:
http://old.nabble.com/download-a-small-file-from-tomcat-server-tp2756475
8p27565937.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org