Announcement Announcement Module
No announcement yet.
Configuring a Bean for a Download URL Page Title Module
Move Remove Collapse
Conversation Detail Module
  • 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:
    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:
    .. where everything up to the question mark is my bean's URI, but it's less than desirable.

    Thanks for your help.