Hello!
I am building a weblog for a friend. My plan is that he would input his logs in a form, then when hits the submit button, the data would be added to an XML file (that holds the content for his site), along with the date (using a simple Java function). Then with the same go, another XSLT stylesheet would regenerate all the pages of his blog, using Xalan and its redirect ext., and the server (Apache) would have to serve static pages only.
The part where I would need some help, is the part where the server uses the JVM to add the data, and generates the pages.
I have already mastered most of the XSLT functions, including recursive programming in XSLT, and Xalan's redirect function to generate unlimited number of XHTML output documents. I was using the command line to start the transformations, now I want to start it from a browser.
I know so far very little about Java, so what I am asking for are some pointers (sites, tutorials, books) that would help me achieve the above. Namely how to plug in a Java Machine to Apache, and how to invoke it, to do the transforms.
(Xalan comes with a Server-side XSLT sample, but is very poorly documented).
Thank you very much in advance,
Fuli42
(to contribute to the community, I've posted a tip, see the the next thread...)
I am building a weblog for a friend. My plan is that he would input his logs in a form, then when hits the submit button, the data would be added to an XML file (that holds the content for his site), along with the date (using a simple Java function). Then with the same go, another XSLT stylesheet would regenerate all the pages of his blog, using Xalan and its redirect ext., and the server (Apache) would have to serve static pages only.
The part where I would need some help, is the part where the server uses the JVM to add the data, and generates the pages.
I have already mastered most of the XSLT functions, including recursive programming in XSLT, and Xalan's redirect function to generate unlimited number of XHTML output documents. I was using the command line to start the transformations, now I want to start it from a browser.
I know so far very little about Java, so what I am asking for are some pointers (sites, tutorials, books) that would help me achieve the above. Namely how to plug in a Java Machine to Apache, and how to invoke it, to do the transforms.
(Xalan comes with a Server-side XSLT sample, but is very poorly documented).
Thank you very much in advance,
Fuli42
(to contribute to the community, I've posted a tip, see the the next thread...)