On Tue, 21 May 2002, Brian J. Sletten wrote: > I asked previously if anyone had any suggestions about dealing with > multi-step JSP compilation and didn't get any responses. I came across > a concrete example that might generate more discussion. > > I'm working on a prototype web application that is very dynamic and > generates JSPs on the fly from XML and XSLT files. One of the > problems I face is that when I generate links in the XSLT, I don't have > access to the ContextPath and Struts doesn't get involved at that level.
It seems that there are really two separate issues: you're discussing (a) a JSP preprocessor (as you later described) and (b) an XSLT engine aware of the PageContext. The idea of a preprocessor is somewhat general but probably not needed by too many people. However, the latter idea is something that I've had in the back of my mind; it might be appropriate in a future version of JSTL to allow the XPath variables that make up the XPath evaluative context in JSTL tags to apply also to XSLT transformations conducted through <x:transform>. At least, it's probably worth exploring. -- Shawn Bayern "JSP Standard Tag Library" http://www.jstlbook.com (coming this summer from Manning Publications) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
