Vita Rara: A Life Uncommon

Struts 2 XSLT

Hi Mark,

I would really like to see some tutorials concerning Struts XSLT. Everyone is into JSF and all these new things and XSLT is shamefully neglected. There are still a lot of reasons to use it and Struts 2 obviously has support for it. A simple example was easy to set up, but I could not figure out from documentation how to change the XML stream that is being generated. How do I register my own Adapter? The documentation says I need to call a particular register method in AdapterFactory, but it does not explain where in my code I have access to the AdapterFactory instance. Unfortunately I could not get any help on the mailing list or elsewhere in the web nor could I find the examples mentioned somewhere in the Javadoc. No one seems to be using these great XSLT features... Why? Can you help or even provide a tutorial?

Kind regards
Matthias

Reply

Please solve the math problem above and type in the result. e.g. for 1+1, type 2
  • Allowed HTML tags: <a> <img> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <h1> <h2> <h3>
  • Lines and paragraphs break automatically.
More information about formatting options