I built a simple JSF web application (war) and did a bulk import in WCM 2.1 Web Project. On previewing the website, it displayed the first page (index.jsp) but on browsing further could not display the next link (HTTP 404 error).
Are Web Frameworks like JSF / Struts supported in WCM 2.1 Web projects?
Unfortunately JSF is not yet supported yet via the Virtualization Server.
To enable preview, you can either mount a sandbox on a mount server and manually configure an application context for it, and direct your users to that URL. Alternatively, you can use our new 2.1 file-system deployment service to push to second server (or multiple) to preview without going through a CIFS mount.
This is a to-do item, and any future plans will be posted on our wiki.
I m also having the same problem. I have imported a struts application into web project. By clicking on Preview Website, it is showing the index page but submitting the same index page it is showing page not found as the url points to some other location.
Virtualization for Struts should be enabled as of our 2.1 Enterprise release. Prior to 2.1, there were some issues with session handling, which was fixed for 2.1.
More generally, for JSF-based apps or any other non-virtualizeable app, in our upcoming 2.2 release, we've added support for defining a pool of remote test servers on a per Web Project basis so that publishers or reviewers can "check-out" a server from the pool, sync via deployment, and have preview requests routed through that remote server. This enables in-context preview of any set of updates to the websites, but as it does require a fixed number of remote servers configured for preview, each sandbox isn't automatically "virtualized".
You should not need this for a Strut-based app, but for a JSF-based app, or non-Java app (like PHP or .NET) it should be quite useful.