Are you actually trying to FORWARD to the file or is your intention to
initiate download of the file?

If the later, you'll need to do the usual download code, and just point it
at the file.

Your specifying an HTML file though, so I assume you want the user to see
that page... So, the question is, is it a one-time page display or are you
trying to redirect them to another webapp?

If you just need to display it, you could always open a stream on the file
and render it to response manually.  Seems like a lot of work though...

Can you be more specific about what your really trying to do?

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

On Wed, September 22, 2004 1:23 pm, [EMAIL PROTECTED] said:
>
>
>
>
> This doesn't work either.  I get a 404 for a local resource or an outside
> url.  I don't want to hardcode the document.location but I don't know what
> other choices there are.
>
>
> Hubert Rabago <[EMAIL PROTECTED]> wrote on 09/22/2004 12:00:00 PM:
>
>> If you need to forward to a resource outside the current web context,
>> you can try using a redirect.
>>
>> <forward name="lapTop" path="http://gmail.google.com"; redirect="true"/>
>>
>> Now, whether it'll work when you point it to a local resource...  I
>> think what you'll get is the user's browser will try to look for that
>> file on the user's machine.
>>
>> Hubert
>>
>> On Wed, 22 Sep 2004 11:50:29 -0400, [EMAIL PROTECTED]
>> <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> > Is it possible to forward to a file on a hard drive?  I set up a
>> global
>> > forward like this
>> >
>> > forward name="lapTop"         path="C:\project\WorkQueueLaptop.html"
>> >
>> > I've since learned that the path is context relative so this is a no
> go.
>> > What technique do I need to use?  Is it possible to handle this form
> the
>> > config file?
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to