struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Friedman" <>
Subject RE: exception
Date Thu, 07 Sep 2006 07:37:50 GMT
Since we're picking your code apart... In your struts-config.xml you
shouldn't need to specify the controller as a TilesRequestProcessor if you
have the plugIn specified.  I recommend you comment the
TilesRequestProcessor line out. See:

Also, I've read other problems on this list if you set the TilesPlugin
moduleAware variable.  I recommend you comment out that line as well unless
you are using modules. Even then you need to be very careful of the side
effects.  Try commenting it out for now.


-----Original Message-----
From: Tom Jerry []
Sent: Thursday, September 07, 2006 2:03 AM
To: Struts Users Mailing List
Subject: Re: exception

There are no database operations. It is the simplest one. I am learning by

<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"

            <form-bean name="loginForm" type="code.LoginForm"/>

        <forward name="mainmenu" path="/mainmenu.jsp"/>

            <action path="/login"


    <message-resources parameter="ApplicationResources" null="false"/>

    <plug-in className="org.apache.struts.tiles.TilesPlugin" >

      <!-- Path to XML definition file -->
      <set-property property="definitions-config"
                       value="/WEB-INF/tiles-defs.xml" />
      <!-- Set Module-awareness to true -->
      <set-property property="moduleAware" value="true" />

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message