If I understood you correctly, you want to put your .jsf files in the
root directory, say http://www.abc.com/first.jsf, and you want that they
are shown only if the user navigates to a subdirectory, for example if
his request url is http://www.abc.com/pages/first.jsf
And if I understood jsf correctly, you can simply use the
servlet-mapping for the faces servlet. For example setting the mapping to
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/pages/*.jsf</url-pattern>
</servlet-mapping>
the faces servlet should automatically do what I understood you wanted
to be done, without the need to use any additional filter proxy or similar.
cheers
Jan
v aditya schrieb:
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