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]