Hi, I think you might get this to work using a Servlet Filter. In the filter you can check all requested URLs and act upon them. In your case you can use the Response object to change the default behaviour. I'm not sure that you can do something in there that does what you want, but it may be worth looking into.
Regards, Freek Segers > -----Original Message----- > From: v aditya [mailto:[EMAIL PROTECTED] > Sent: 13 augustus 2008 8:11 > To: [email protected] > Subject: Re: displaying a page from root directory when URL > points to sub directory > > > I'll definately look into how to use proxy server but is > there some way to do it from JSF standpoint? > > Thanks in advance! > > -aditya > > > > Frank Nimphius-2 wrote: > > > > > > > > > > > > > > > > Hi, > > > > can't you set a proxy on the HTTP server. I remember that this is > > possible to do in Apache. In fact what you want is to intercept the > > request and forward it on the server side > > > > Frank > > > > v aditya wrote: > > > > > > no its not about jsp:includes . > > suppose u have a URL like www.abc.com/pages/first.jsf .I > want the jsf > > page "first.jsf" to be picked up from the root directory instead of > > "first.jsf " > > from the path "/pages/first.jsf" but for the next request the URL > > should still remain like its coming from "/pages/first.jsf". > > > > Frank Nimphius-2 wrote: > > > > > > > > > > > > > > > > > > > > Hi, > > > > sorry, I don't understand the question, can you rephrase ? > Do you mean > > jsp:includes ? > > > > Frank > > > > v aditya wrote: > > > > I want to use some "part" of a URL to identify a particular sub > > directory(under root directory) and I want to use the styles and > > images from this sub directory to display a page in the > root directory > > here the URL should still remain the same that is it should > still have > > the "part" > > intact. > > All the pages are present only in root directory and styles > and images > > are present only in sub directory.Can someone give me any pointers > > about how should I proceed. > > > > > > > > -- > > > > Frank Nimphius | Principal Product Manager Oracle Application > > Development Tools > > > > > > > > > > Oracle is committed to developing practices and products that > > help protect the environment > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Frank Nimphius | Principal Product Manager Oracle Application > > Development Tools > > > > > > > > > > Oracle is committed to developing practices and products that > > help protect the environment > > > > > > > > > > > > > > > > > > > > > > -- > View this message in context: > http://www.nabble.com/displaying-a-page-from-root-directory-wh > en-URL-points-to-sub-directory-tp18957092p18957555.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > > > ================================================ The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

