Thank you. I will look at the project.
--- David Fisher <[EMAIL PROTECTED]> schrieb:
> Well, it looks like you can use the reading the file
> part of my
> approach or David Smith's approach.
>
> If you need to retrieve content from within a
> Microsoft Office file -
> including properties, et
Well, it looks like you can use the reading the file part of my
approach or David Smith's approach.
If you need to retrieve content from within a Microsoft Office file -
including properties, etc then you might take a look the Apache POI
project - http://poi.apache.org/
If you need to do
--- David Smith <[EMAIL PROTECTED]> schrieb:
> No, I don't mean that. It should be able to retrieve
> any type of file.
> What you can do with it from within a jsp might be
> somewhat limited thought.
Ok,
> What exactly do you want to do with the file
> contents within the jsp?
I will save
No, I don't mean that. It should be able to retrieve any type of file.
What you can do with it from within a jsp might be somewhat limited
though. What exactly do you want to do with the file contents within the
jsp?
BTW, I highly recommend you read the documentation for the jstl taglibs
and
Hi Henry,
most of these files are PDF, XLS and not only TXT
format.
You are meaning that with a JSP definitvly one can
reads only TXT files?
When I had the trouble I was referred to the JSP spec and it is meant
for serving marked up Text formats. Encoding translations can happen
with JSP.
Hi David,
most of these files are PDF, XLS and not only TXT
format.
You are meaning that with a JSP definitvly one can
reads only TXT files?
i understood with help of
--- David Fisher <[EMAIL PROTECTED]> schrieb:
> Henry doesn't say if these are text files or binary
> files.
>
> If these are b
Thanks David. I will try it as long as i know about
some details and options of my to be implemented
project. please follow my other topic, maybe you can
help too
> Yes, in general the url="http://remoteServer/path"; /> would
> fetch the file via http protocol. The actual URL
> you'd use is dep
Yes, in general the http://remoteServer/path"; /> would
fetch the file via http protocol. The actual URL you'd use is dependent
on the configuration of the remote server.
--David
henry human wrote:
You gave me some idea and brought light to the issue!
Thanks
url="http://remoteSystem.dns.com
You gave me some idea and brought light to the issue!
Thanks
url="http://remoteSystem.dns.com/http/path/to/file.txt
> var="fileContents" />
Am I right about above, that you mean my JSP ask the
tomcat on the remote machine and consequently the
remote tomcat reads the file by means of the incoming
Henry doesn't say if these are text files or binary files.
If these are binary files like PDF, PPT and XLS files then a servlet
will be needed - not a jsp.
We use variations like the following in both Tomcat 4.1.31 and Tomcat
5.5.26
public class OpenFileServlet extends HttpServlet{
p
nal Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 29, 2008 1:39 PM
To: Tomcat Users List
Subject: Re: access files from jsp
So... the "remote file" is available to the local system on a network
drive. That's a fun one. There are a couple of dif
So... the "remote file" is available to the local system on a network
drive. That's a fun one. There are a couple of different ways to do this.
1. Using Windows fileshares
Let me preface this by saying *I've* never done this. The few times I've
had a tomcat server on a Windows machine, it only
Thanks David,
I try to clarify my situation.
I have a JSP running in local computer in tomcat. This
JSP should read from a remote machine. The files are
under d:\archive\files. These directory which provide
a repository functionality could not be transfer
somewhere else. The files must be saved t
Here's the picture you painted in the original email and I based my
answer on:
1. You have a jsp file on a tomcat server which needs to read
information from a remote system
2. The system containing the remote file has a webserver you could put
the file in.
The c:import tag is a java standar
> Seems to me the simplest is the c:import tag and
sorry,I don't understand what you mean, could you tell
more detailed. Maybe a little code code, a sample, etc
> fetch the file via http
how??
> -- just my two cents. You know more about your
> architecture and what's
> available than any of
Seems to me the simplest is the c:import tag and fetch the file via http
-- just my two cents. You know more about your architecture and what's
available than any of us.
--David
henry human wrote:
Once again because there was a mistake in the first
email :
i am about to read from a JSP the
Once again because there was a mistake in the first
email :
i am about to read from a JSP the data at a
remote computer. At remote computer is tomcat
running. the files are stored in
remote computer at
d:\archive\files
The port 80 is also accessible.
Please tell me, what should be
configu
17 matches
Mail list logo