Hi
I am using tomcat 5.0.28, MyEclipse 5.5 and java 1.5 with the struts framework which is come by the MyEclipse. I am trying to use struts 1.1 definitions and I keep getting the following error/message and nothing happens. I am a beginner to struts 1.1 so need some help. I can not change the settings like the version of eclipse or jvm as they are constant to the shared hosting server.
The console output
Apr 17, 2008 5:57:23 PM org.apache.catalina.startu
p.HostConf
ig restartContext
INFO: restartContext(/xxx)
Apr 17, 2008 5:57:23 PM org.apache.catalina.core.S
tandardCon
text reload
INFO: Reloading this Context has started
Apr 17, 2008 5:57:23 PM org.apache.struts.tiles.Ti
lesRequest
Processor initDefinitionsMapping
INFO: Tiles definition factory found for request processor ''.
Apr 17, 2008 5:57:23 PM org.apache.struts.util.Pro
pertyMessa
geResource
s <init>
INFO: Initializing, config='org.apache.struts.
util.Local
Strings', returnNull=true
Apr 17, 2008 5:57:23 PM org.apache.struts.util.Pro
pertyMessa
geResource
s <init>
INFO: Initializing, config='org.apache.struts.
action.Act
ionResourc
es', returnNull=true
Apr 17, 2008 5:57:24 PM org.apache.struts.util.Pro
pertyMessa
geResource
s <init>
INFO: Initializing, config='com.sbb360.struts.
Applicatio
nResources
', returnNull=true
Apr 17, 2008 5:57:24 PM org.apache.struts.tiles.Ti
lesPlugin init
INFO: Tiles definition factory loaded for module ''.
Struts-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<data-sources />
<form-beans />
<global-exceptions />
<global-forwards />
<action-mappings />
<message-resources parameter="com.xxx.struts.
Applicatio
nResources
" />
<plug-in className="org.apache.stru
ts.tiles.T
ilesPlugin
">
<set-property property="definitions-conf
ig" value="/WEB-INF/tiles-defs
.xml"/>
<set-property property="definitions-debu
g" value="2"/>
<set-property property="definitions-pars
er-details
" value="2"/>
<set-property property="definitions-pars
er-validat
e" value="true"/>
<set-property property="moduleAware" value="true"/>
</plug-in>
</struts-config>
tiles-defs.xml
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration//EN" "
http://jakarta.apache.org/struts/dtds/tiles-config.dtd"
>
<tiles-definitions>
<!-- Base Tiles Definition -->
<definition name="sbb360.default" path="/www/siteLayout.jsp"
>
<put name="header" value="/www/header.jsp" />
</definition>
</tiles-definitions>
SiteLayout.jsp
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-tiles
.tld" prefix="tiles" %>
<html>
<body bgcolor="#736F6E">
<table border="1" cellpadding="0" cellspacing="0" width="50%" align="center" bordercolor="#000000" bgcolor="">
<tr>
<td ><tiles:insert attribute="header"/></td>
</tr>
</table>
</body>
</html>
header.jsp
<img src="../images/logo1.jsp" />