Marco Walther's Weblog

« My Adventure in... | Main | Creator on Ubuntu »

20051124 Thursday November 24, 2005

Java Studio Creator and Resin

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

( Nov 24 2005, 06:58:21 PM PST ) Permalink Comments [1]

Trackback URL: http://blogs.sun.com/marcoscorner/entry/java_studio_creator_and_resin
Comments:

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

Posted by John Burgess on August 16, 2006 at 04:39 AM PDT #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed