Thanks Wes!  I sure thought the result type stream looked like overkill for
this deal!  No offense to my boy d.!  Just wanted to see if S2 had a
"neutralizer" result to handle headers and such for any browser quirks that
might be lurking.

I finished the breadCrumb plugin at about 3:30 this morning and want to make
it available.  As soon as I get it uploaded to be downloaded and
communicated to the mailing list, I'm going to bed!!!

Scott

On 10/12/07, Wes Wannemacher <[EMAIL PROTECTED]> wrote:
>
> If the file is sitting in a web-accessible directory, just use <s:url
> value="/path/to/file" />. To me it doesn't seem much different than
> the references to imgs and other static resources.
>
> Do you have any business/processing logic that goes along with the
> link to the file(s)? I mean, is there any reason you shouldn't treat
> like any other static resource?
>
> -W
>
> On 10/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Looks promising honeycomb.  However, is there a simpler way than to
> write an
> > action class with an inputstream for a file that is already sitting in a
> web
> > server folder?
> >
> > On 10/12/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> > >
> > > --- [EMAIL PROTECTED] wrote:
> > > > I looked for a special result type but came up
> > > > empty handed!
> > >
> > > Is StreamResult [1] not what you're looking for?
> > >
> > > > P.S. Does d. ever sleep?   Is he a coffee drinker?
> > >
> > > I am actually a hive-mind distributed across several
> > > continents.
> > >
> > > d.
> > >
> > > [1]
> > > http://struts.apache.org/2.x/docs/stream-result.html
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Scott
> > [EMAIL PROTECTED]
> >
>
>
> --
> Wesley Wannemacher
> President, Head Engineer/Consultant
> WanTii, Inc.
> http://www.wantii.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Scott
[EMAIL PROTECTED]

Reply via email to