Java Studio Creator and Resin

By | November 24, 2005

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:

  1. Use the Export War for a J2EE 1.3 compliant container. That will create the needed forwarding start page.
  2. 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

One thought on “Java Studio Creator and Resin

  1. John Burgess

    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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.