Serving content from another directory?
"Jacobsen, Jasen" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.user |
|---|---|
| Message-ID | <[email protected]> |
I have an MX4J server setup as follows:
HttpAdaptor html = new HttpAdaptor(portNumber);
XSLTProcessor xsltProc = new XSLTProcessor();
xsltProc.setFile("properties/xsl");
// A number of html.addCommandProcessor()
html.setProcessor(xsltProc);
html.start();
This works great and delivers content from the "properties/xsl"
directory. However, now I'd like to deliver content from the
"properties/other" directory using the same HttpAdaptor. Is that
possible?
Would I set up a CommandProcessor that gets stuff out of the other
directory somehow?
- 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