Hi. Here is the problem. I have a dispatcher servlet, who handles request for some sites. The servlet is the same, but it dispatches requests for two kind of sites : - some that have their own domain name (www.realname.com) (1) - some that lie under a generic domain (www.domain.com/realname) (2) This is done with apache + jrun. The servlet is called dispatcher.jrun (invoker.jrun is a mapping to invoker) I prefer this solution to the /servlet/invoker solution, because the images relative paths are preserved, so I'd rather not change this. When called from (1), there is no problem, because the servlet is called from the server's root directory. When called from (2), jrun looks for a realname/dispatcher.class in its servlet directory, which does of course not exist. I cannot create a new mapping for that servlet, because I don't know the number of different realname subdirectories (potentially a lot), and because as they are dynamically created, I would have to update automatically jrun configuration files, and restart it, which is by far not my first choice ;-) Does anyone have dealt with such a problem, or have an idea to solve it. Best regards Computers are like air conditioners - they stop working properly when you open Windows UNIX _IS_ user friendly. It's just selective about who its friends are. "If Bill Gates had a nickel for every time Windows crashes... Oh, wait! He does!" ______________________________________________ Sylvain Roche Responsable d�veloppement Add-Online www.add-online.fr 80 rue d'Alsace 69100 VILLEURBANNE France tel : +33 437431260 fax: +33 437431269 =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
