-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Susan,
On 6/18/2009 10:57 AM, Susan G. Conger wrote:
I actually was thinking about doing it that way. But I was wondering about
the overhead. I wish I knew how they were serving up the .html files in the
class package.
Just follow the code: you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Susan,
On 6/18/2009 8:13 AM, Susan G. Conger wrote:
This is a windows box so I can't just
put links in the other area.
mklink.exe? Why does nobody think that NTFS supports links?
I actually have to move or copy the pieces.
Having multiple
bother.
Thanks,
Susan
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Wednesday, June 17, 2009 4:34 PM
To: Tomcat Users List
Subject: Re: Serving images from classes directory
Susan,
have a look at this :
http://tuckey.org/urlrewrite/
This is a servlet filter
time/steps. This is what I am trying to
avoid by serving the custom content from the images directory.
Thanks,
Susan
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Wednesday, June 17, 2009 2:58 PM
To: Tomcat Users List
Subject: Re: Serving images from classes directory
From: Susan G. Conger [mailto:sus...@bfcassociates.com]
Subject: RE: Serving images from classes directory
But from a maintenance/source control stand point it sure
would make things a lot easier if I didn't have to pick
and choose what directories to move when deploying on the
users
From: Susan G. Conger [mailto:sus...@bfcassociates.com]
Subject: RE: Serving images from classes directory
So I want to put all of my custom scripts and graphics in
that class package that it creates. I then want to be able
to access my custom content by editing the html and putting
a url
On 18-Jun-2009, at 08:26, Susan G. Conger wrote:
-- What is 'it', precisely?
It is server images from the classes directory.
I realize the correct place to put my scripts and graphics. However
the
tool app deploys the app it makes for me as a class under it's classes
directory. So I want
Susan G. Conger wrote:
-- What is 'it', precisely?
It is server images from the classes directory.
I realize the correct place to put my scripts and graphics. However the
tool app deploys the app it makes for me as a class under it's classes
directory. So I want to put all of my custom
From: Andre-John Mas [mailto:aj...@sympatico.ca]
Subject: Re: Serving images from classes directory
The only way to serve images from the classes directory would be for
you to write a servlet that reads the files and then serves them up.
While you can do this, don't be surprised
The tool app is the third party development tool that is used to generate my
web application.
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Thursday, June 18, 2009 8:47 AM
To: Tomcat Users List
Subject: Re: Serving images from classes directory
Susan G. Conger wrote
to the classpath?
Thanks,
Susan
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Thursday, June 18, 2009 8:32 AM
To: Tomcat Users List; sus...@bfcassociates.com; p...@pidster.com
Subject: RE: Serving images from classes directory
From: Susan G
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Thursday, June 18, 2009 8:30 AM
To: Tomcat Users List
Subject: RE: Serving images from classes directory
From: Susan G. Conger [mailto:sus...@bfcassociates.com]
Subject: RE: Serving images from classes
From: Susan G. Conger [mailto:sus...@bfcassociates.com]
Subject: RE: Serving images from classes directory
Sorry, it is a treated as a package with .xml, .html, .class files, and
.java files. So it is serving up the .html files that are in there
just fine.
You're saying that you already
To: Tomcat Users List
Subject: RE: Serving images from classes directory
From: Susan G. Conger [mailto:sus...@bfcassociates.com]
Subject: RE: Serving images from classes directory
Sorry, it is a treated as a package with .xml, .html, .class files, and
.java files. So it is serving up the .html
Caldarale, Charles R wrote:
From: Susan G. Conger [mailto:sus...@bfcassociates.com]
Subject: RE: Serving images from classes directory
Sorry, it is a treated as a package with .xml, .html, .class files, and
.java files. So it is serving up the .html files that are in there
just fine.
Which
, June 18, 2009 8:39 AM
To: Tomcat Users List
Cc: p...@pidster.com
Subject: Re: Serving images from classes directory
On 18-Jun-2009, at 08:26, Susan G. Conger wrote:
-- What is 'it', precisely?
It is server images from the classes directory.
I realize the correct place to put my scripts
Susan G. Conger wrote:
All that is controlled by the tool app (Not written by me). That is why I
have to play nice. :-) Here is my web.xml for the tool app.
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE web-app (View Source for full doctype...)
- web-app
etc..
While not being in any
From: Susan G. Conger [mailto:sus...@bfcassociates.com]
Subject: Serving images from classes directory
I need to be able to serve images from the classes directory
of my web app.
Try using ClassLoader.getResourceAsStream() to read the image, then write it to
the response output stream.
[mailto:chuck.caldar...@unisys.com]
Sent: Wednesday, June 17, 2009 11:33 AM
To: Tomcat Users List
Subject: RE: Serving images from classes directory
From: Susan G. Conger [mailto:sus...@bfcassociates.com]
Subject: Serving images from classes directory
I need to be able to serve images from the classes
On Wed, Jun 17, 2009 at 6:56 AM, Susan G. Conger
sus...@bfcassociates.com wrote:
This may be a bit weird, however there is a reason for it. I need to
be able to serve images from the classes directory of my web app.
I have to ask -- why? It seems a pointless complication...
--
Hassan
images from classes directory
On Wed, Jun 17, 2009 at 6:56 AM, Susan G. Conger
sus...@bfcassociates.com wrote:
This may be a bit weird, however there is a reason for it. I need to
be able to serve images from the classes directory of my web app.
I have to ask -- why? It seems a pointless
On Wed, Jun 17, 2009 at 9:04 AM, Susan G. Conger
sus...@bfcassociates.comwrote:
The web app is made by another company that screen scrapes/translates a
mainframe app and then makes a web app out of it. They store this in their
classes directory. So in order to keep everything together and
...@gmail.com]
Sent: Wednesday, June 17, 2009 12:10 PM
To: Tomcat Users List; sus...@bfcassociates.com
Subject: Re: Serving images from classes directory
On Wed, Jun 17, 2009 at 9:04 AM, Susan G. Conger
sus...@bfcassociates.comwrote:
The web app is made by another company that screen scrapes
From: Susan G. Conger [mailto:sus...@bfcassociates.com]
Subject: RE: Serving images from classes directory
If I want my stuff to play nice with their stuff then I have
to wedge my stuff into their stuff.
So what is your stuff? Still haven't heard an explanation of why you think
images
On Wed, Jun 17, 2009 at 9:24 AM, Susan G. Conger
sus...@bfcassociates.comwrote:
As I said. It is not a web app that I have created. It is generated by a
third party development environment. If I want my stuff to play nice with
their stuff then I have to wedge my stuff into their stuff.
If the images are physical images in the classes directory - you have a
few options.
1) At build time - move (or copy) the files from the classes directory
to somewhere more sane that the default servlet can access
2) Write a filter the detects these images that live in the classes dir,
and
. Underneath
I have tied in netBeans the best I can so I can debug their stuff. But that
has issues too.
Thanks,
Susan
-Original Message-
From: Tim Funk [mailto:funk...@apache.org]
Sent: Wednesday, June 17, 2009 1:07 PM
To: Tomcat Users List
Subject: Re: Serving images from classes directory
[mailto:funk...@apache.org]
Sent: Wednesday, June 17, 2009 1:07 PM
To: Tomcat Users List
Subject: Re: Serving images from classes directory
If the images are physical images in the classes directory - you have a
few options.
1) At build time - move (or copy) the files from the classes
[mailto:funk...@apache.org]
Sent: Wednesday, June 17, 2009 1:07 PM
To: Tomcat Users List
Subject: Re: Serving images from classes directory
If the images are physical images in the classes directory - you have a
few options.
1) At build time - move (or copy) the files from the classes directory
[mailto:p...@pidster.com]
Sent: Wednesday, June 17, 2009 1:29 PM
To: Tomcat Users List
Subject: Re: Serving images from classes directory
Susan G. Conger wrote:
Thanks Tim. I don't have control during build because that is done by the
third party tool. I am not going to mention their name. I
app might be the
people you really want to be talking to about this.
p
Thanks,
Susan
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Wednesday, June 17, 2009 1:29 PM
To: Tomcat Users List
Subject: Re: Serving images from classes directory
Susan G. Conger wrote
the tool app builds into subversion
so I can have some source control.
Thanks,
Susan
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Wednesday, June 17, 2009 2:09 PM
To: Tomcat Users List
Subject: Re: Serving images from classes directory
Susan G. Conger wrote:
The template
From: Susan G. Conger [mailto:sus...@bfcassociates.com]
Subject: RE: Serving images from classes directory
This is a web app that is deploying it's own web app.
Isn't that illegal in some states/countries?
The web app that gets deployed is my web app while the web
app doing
understanding is accurate first.
p
Thanks,
Susan
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Wednesday, June 17, 2009 2:09 PM
To: Tomcat Users List
Subject: Re: Serving images from classes directory
Susan G. Conger wrote:
The template files are in the classes
Susan G. Conger wrote:
The template files are in the classes directory. This is a web app that is
deploying it's own web app. So it is rather convoluted. The web app that
gets deployed is my web app while the web app doing the developing is the
third party tool.
Thanks,
Susan
,
Susan
-Original Message-
From: Tim Funk [mailto:funk...@apache.org]
Sent: Wednesday, June 17, 2009 1:07 PM
To: Tomcat Users List
Subject: Re: Serving images from classes directory
If the images are physical images in the classes directory - you have a
few options.
1) At build time
app builds into subversion
so I can have some source control.
Thanks,
Susan
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Wednesday, June 17, 2009 2:09 PM
To: Tomcat Users List
Subject: Re: Serving images from classes directory
Susan G. Conger wrote
37 matches
Mail list logo