Re: Serving content from another directory?
"Jacobsen, Jasen" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.user |
|---|---|
| Message-ID | <[email protected]> |
>-----Original Message----- > >Would I set up a CommandProcessor that gets stuff out of the other >directory somehow? > Yes. This works as long as the content to be delivered is valid XML that can be put in a DOM Document. I created a CommandProcessor that takes in a parameter signaling the content to be delivered. Then the CommandProcessor class has access to the full JVM environment. The CP builds a filepath, calls builder.parse(theFilename) and the resulting Document is sent back to the XSLTProcessor. I'll see what happens if I get tricky and start delivering xhtml with stylesheet and javascript references. I'm thinking that won't work. - Jasen. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV