Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 9 as a Front-end Server

I'm not sure what you mean by mapping to DefaultServlet.. I don't want these
files to be directly available to the public. And I need to use
Content-Disposition to output the real filename stored in a database.

-----Original Message-----
From: jetty-users-bounces@xxxxxxxxxxx
[mailto:jetty-users-bounces@xxxxxxxxxxx] On Behalf Of Simone Bordet
Sent: June-10-13 1:47 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] Jetty 9 as a Front-end Server

Hi,

On Mon, Jun 10, 2013 at 7:39 PM, Shane Curless <shane@xxxxxxxxxxxxx> wrote:
> The feature I need is for Railo to be able to tell Jetty to serve a
specific file after it has located it via meta-information from the
database.
> This works perfectly well using Nginx and <cfheader
name="X-Accel-Redirect" value="/path/to/the/file" />, is there a similar
thing I  can do using Jetty standalone?

As I said, if "/path/to/file" maps to DefaultServlet, you don't even need to
set the header: it will be served asynchronously and via direct buffers.

--
Simone Bordet
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support from the Jetty & CometD
experts.
Intalio, the modern way to build business applications.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top