Hi,

You can use any extension you want. As long as the StripesDispatcher is 
configured to handle URL ending with epub or that you use DynamicMappingFilter 
with an ActionBean annotated like @UrlBinding("someurl/abc.epub").
I successfully generate some PNGs dynamically through an ActionBean.

Christian

De : Heather and Jon Turgeon [mailto:tashiba40_evergr...@hotmail.com]
Envoyé : May-05-15 8:51 AM
À : 
stripes-users@lists.sourceforge.net<mailto:stripes-users@lists.sourceforge.net>
Objet : [Stripes-users] Action with an epub resolution

Hello all, I have a web app that generates an epub from information stored in a 
database. I have an action that creates the book and then sends it back to the 
client as an epub. This works great in Windows/Linux and Android but is less 
than great on my iPad. Since the link on the page that calls the epub code ends 
in .action the iPad does not know which app to use to open the book. Is there 
some way in Struts to call an action using a link that ends with .epub? 
Something like www.somewebsite.com/newbook.epub that would call a Stripes 
action which could then pass back a book named differentBookName.ebub (my site 
can create multiple books depending on user content).

Jon
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to