Chris,
The application is an image gallery. I want to be able to drop images into
directories anywhere underneath the "gallery" webapp directory and have the
images automatically displayed as thumbnails in a table. Users can click on a
thumbnail for the full-size image. I have an index.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
> After poking around a little more, it seems that the call
>
>
> application.getRealPath(request.getServletPath())
> provides the proper local file path for me. Any reason not to use that?
You still have to add the request's URI to the
Hi Chris,
Thanks for your response. After poking around a little more, it seems that the
call
application.getRealPath(request.getServletPath())
provides the proper local file path for me. Any reason not to use that?
Peter
Christopher Schultz <[EMAIL PROTECTED]> wrote: Peter,
> I'm tr
Peter,
> I'm trying to figure out why I get repeated directory names when calling
> "application.getRealPath(request.getRequestURI())" from an index.jsp
> file. Clearly there's something about virtual hosts and contexts that
> I'm missing.
I suppose you /could/ do this, but usually URIs and dire
I'm trying to figure out why I get repeated directory names when calling
"application.getRealPath(request.getRequestURI())" from an index.jsp
file. Clearly there's something about virtual hosts and contexts that
I'm missing.
Using Tomcat 5.5 & 6.0 in standalone mode under Windows XP, I see the
fo