Hi, About a year ago we implemented our own XML/XSL extension to struts using Xalan directly to perform the transformation. We're now investigating whether we...
You can keep one centralized action class which calls the remaining action files (actionPerformed method) one after another and use the following stxx ...
Well, I guess this isn't really a new idea... and as Jeff can testify, I have been harping on it for what seems like months now. I have tried to implement it...
For my project, I use sitemesh to handle templating (common menus, header, footer, etc). The advantage here is my transforms are smaller and my action don't...
Brian, ... For common tasks, I import XSL templates just like I did back in the ASP days. For framework provided help, I think our answer is a more flexible...
Well, I don't know about you all, but my struts-config.xml file is getting pretty damn long. I wanted an easy way to work with it without having to scroll all...
Hi Don, Does sitemesh cater for changes to the non-content areas (e.g. menus/header/footer)? For example, if the menu shown depends on the role of the user....
Since you can use jsp in those areas, you can do anything you want. For example, in my app, there is an administrator menu that is hidden unless the user is...
... As usual: very, very few and I'm not sure if I would call them drawbacks as much as a difference in requirements. ... Unfortunately, I consider this to be...
... In my first reply, I couldn't think of a coherent brief way to express the "drawbacks" or the differences in requirements that my app has which perhaps...
You raise a very good point. My method sucks for multi-part forms and infact, within my application where I use multipart forms, I don't use it and perform...
Hello Mr. Don, ... Hmmm...what if you have 30 incoming parameters? Or even worse you have an undetermined number of form controls, if the user buys 5 products...
... Nope, I take it back. I think with Mr. Don's ever wise counsel, "deluxe error handling" can be implemented by simply: not using automagic form validation....
Why not forward back to the editItem.do action after a failed save? In the failed save, you attach an element containing an xml representation of the invalid...
... No good reason at all. Absolutely, this is a better way. Eliminates saving stuff to the session which is rather clumsy. The bad reason I'm not doing it...
Hi, I need to implement an email function. The email content is composed by a few xml files. And the email format is using xsl to do the transformation. Seems...
Hi Fanny, If I read your email correctly, then you want to take XML and use XSL to transform it into a email message of the style RFC-822/2045. Then instead of...
Hi Jeff, Thanks a lot for your reply. You read my email correctly. I understand that I need to write my own RenderFactory to output the email to SMTP server....
If I could jump in here...You're trying to stuff a lot into that transform. If you use the xsl file for the email transform then there is no way to specify...
The opencode website doesn't mention anything about licensing--some might construe this as meaning that stxx is or may become restricted in the future, and...
Hello, I'm new to stxx--having just learned that Struts' ActionForms are limited to JSP output--and am looking at the example XSLT transformation (presumably...
Hi Glen, You can check out the stxx examples for a demo of how to perform a PDF transformation. The particular <forward> block would look like this: <action...
Jeff, Have you tried to stress test some example written using stxx? I wrote a sample application that generates about 300Kb of xml from database data and...
If you feel up to it, try putting this on line 187 before it throws the exception: ex.printStackTrace(); From that, you should at least get the line number the...
Boy oh boy... My guess to the memory consumption problem is this: On the first request of a stylesheet, it is compiled into a Template. That Template is...
Eugene, just to narrow down the culprit for this problem, try running this simple bench marking tool http://www.orionserver.com/benchmarks/httpbench.exe It's a...
Jeff, Can you please let me know how to get stxx1_0 branch of stxx from CVS. I have cvs command line client, but not sure how to use it to get stxx. I tried...