Announcement Announcement Module
Collapse
No announcement yet.
Configuring a Bean for a Download URL Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Configuring a Bean for a Download URL

    Can a bean be configured to accept a filename URL leading to a controller that downloads a file? What I have in mind is a URL like:
    http://www.my.site/mydirectory/myfile.zip
    I tried writing a bean thus:
    <bean name="/mydirectory/*" class=... />
    and other variations, but the framework doesn't regard the URL as a match.


    I've done a workaround, passing the file name as a parameter:
    http://www.my.site/mydirectory?filename=myfile.zip
    .. where everything up to the question mark is my bean's URI, but it's less than desirable.

    Thanks for your help.

    Elly
Working...
X