Advertisement

04.17.2008 at 05:39AM PDT, ID: 23330577 | Points: 500
[x]
Attachment Details

how can I make struts 1.1 definitions to work ?

Tags: apache, tomcat, 5.0.28, Having ha hard time with strus 1.1 and def configaration, jsp, IE/firefox, INFO: Tiles definition factory found for request processor ''.
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.startup.HostConfig restartContext
INFO: restartContext(/xxx)
Apr 17, 2008 5:57:23 PM org.apache.catalina.core.StandardContext reload
INFO: Reloading this Context has started
Apr 17, 2008 5:57:23 PM org.apache.struts.tiles.TilesRequestProcessor initDefinitionsMapping
INFO: Tiles definition factory found for request processor ''.
Apr 17, 2008 5:57:23 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Apr 17, 2008 5:57:23 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Apr 17, 2008 5:57:24 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='com.sbb360.struts.ApplicationResources', returnNull=true
Apr 17, 2008 5:57:24 PM org.apache.struts.tiles.TilesPlugin 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.ApplicationResources" />
 
 
 
  <plug-in className="org.apache.struts.tiles.TilesPlugin">
        <set-property  property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>
        <set-property property="definitions-debug" value="2"/>
        <set-property property="definitions-parser-details" value="2"/>
        <set-property property="definitions-parser-validate" 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" />
Start your free trial to view this solution
Question Stats
Zone: Software
Question Asked By: happysearcher
Question Asked On: 04.17.2008
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
04.18.2008 at 11:55AM PDT, ID: 21388629

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.19.2008 at 06:49AM PDT, ID: 21392474

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.20.2008 at 08:59AM PDT, ID: 21396509

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.21.2008 at 10:50AM PDT, ID: 21404277

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.22.2008 at 12:00AM PDT, ID: 21408606

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.22.2008 at 12:04AM PDT, ID: 21408620

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.22.2008 at 10:33AM PDT, ID: 21413481

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.22.2008 at 11:35AM PDT, ID: 21414034

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.22.2008 at 11:54AM PDT, ID: 21414213

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.23.2008 at 01:56AM PDT, ID: 21418659

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.23.2008 at 09:42AM PDT, ID: 21422674

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.24.2008 at 06:17AM PDT, ID: 21430453

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.24.2008 at 06:19AM PDT, ID: 21430465

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628