That question came up, so I tried it. Creator applications work mostly with Resin 3.0.15. I filed one problem for Resin (RSN-512). But that is easily worked around with a little index.jsp file in the applications root diretory. That index.jsp should just do the forward to the real JSF start page.
So you have two solutions:
- Use the Export War for a J2EE 1.3 compliant container. That will create the needed forwarding start page.
- Export the war file for J2EE 1.4 and add the index.jsp yourself.
The code for the index.jsp should look like:
<?xml version="1.0"?> <jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page"> <jsp:forward page="faces/Page1.jsp"/> </jsp:root>
Just change the Page1 above to your real start page;-)
Have fun;-)
— Marco
Hi Macro
I have a deployment question about Creator and Resin (v2.1). I just uploaded the .war and the .xml to the server (am I doing the right thing?). And, I have this error …/WEB-INF/web.xml:2: unknown element `version’ in host.
Thanks
JH