How do I redirect a JSF page to a page which is outside the web project (for eg. I have to redirect the a jsf page to a page
present in the workdir location)...... Is this possible ?
How about doing it through a JSP page ?
It would be a serious security problem if you could do that arbitrarily. I don't even want to think about the exploits that would open up.
Then again, as I like to point out, a WEB server is NOT a FILE server. The only reason any files get copied from a web app directory is that a web logic module decided to do so. So if you want to create a servlet that gets its page source from some external directory and copies it back to the requester, that's fine. Just be careful.
An IDE is no substitute for an Intelligent Developer.
subject: Redirecting to a Page outside the web project