At the moment, JRun is not fully compliant with the JSP 1.1/1.2 specification.
Specifically, the automatic type conversions for custom tag parameters specified in "Issue 7" of the JSP 1.1 Errata and in the JSP 1.2 Proposed Final Draft have not yet been implemented.
As it stands, JSP pages that make use of Struts taglibs whose parameters require conversion (such as booleans) will not compile under JRun. This includes the Struts Example Application. Attempting to run the example application will result in an exception similar to the following being thrown:
/struts-example/index.jsp: javax.servlet.ServletException: Compilation error occurred: allaire.jrun.scripting.DefaultCFE: Errors reported by compiler: c:/JRun/servers/default/Struts Example/WEB-INF/jsp/jrun__index2ejspa.java:41:1:41:27: Error: No match was found for method "setLocale(java.lang.String)".
(For more details see refer to:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg01860.html
)
The following instructions describe how to install the Struts Example Application under JRun. A subsequent section describes how the Struts Example Application can be patched to work with Struts
The following instructions assume the following:
$APP_SERVER_NAME
on the left pane. A page showing the
current server status will be shown on the right pane.
Click the
Restart Server button to restart the application
server.
http://hostname/struts-example/index.jsp
*.war
files.
For unpacked web applications, configuration involves the following steps:
$APP_SERVER_NAME
(on the
left pane) and click on WAR Deployment (on the right
pane).
$APP_SERVER_NAME/myApplication
$APP_SERVER_NAME/myApplication/WEB-INF
$APP_SERVER_NAME
on the left pane, expand
the Web Applications branch and click on
myApplication. The right pane
will display the configuration options for
myApplication. Click on
Servlet URL Mappings. A list of existing mappings will
be shown. Click
the Edit button and create the following entry:
.class
or
.jar
files are modified
.properties
files are modified
.xml
files are modified