Is your Controller Class NewsController included in your applications
library / classes path ?

-----Ursprüngliche Nachricht-----
Von: Jerry Jalenak [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 6. August 2003 22:42
An: '[EMAIL PROTECTED]'
Betreff: Class Not Found Exception with Tiles controllClass


I'm getting a 'Class not found' exception when I try to use a
controllerClass in a Tiles definition....

<snip>

        <definition
                name="membersolutions.portalLayout.splitscreen"
                path="/WEB-INF/tiles/commonLayouts/portalLayoutSplit.jsp" >
                        <put name="title" value="LabOne, Inc. -
MemberSolutions" />
                        <put name="stylesheet" value="memberSolutions" />
                        <put name="topFrame"
value="/WEB-INF/tiles/commonLayouts/static/topframe.jsp" />
                        <put name="leftFrame" value="" />
                        <put name="rightFrame" value="disclaimer.controller"
/>
                        <put name="bottomFrame"
value="/WEB-INF/tiles/commonLayouts/static/bottomframe.jsp" />
        </definition >

        <!--  -->
        <definition

controllerClass="com.labone.membersolutions.framework.tiles.controller.NewsC
ontroller"
                name="disclaimer.controller"
                path="/WEB-INF/tiles/commonLayouts/static/disclaimer.jsp"/>

</snip>

The "NewsController" looks like this...

<snip>

package com.labone.membersolutions.framework.tiles.controller;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.tiles.ComponentContext;
import org.apache.struts.tiles.Controller;

public class NewsController implements Controller
{
        public void perform(ComponentContext cc, HttpServletRequest request,
HttpServletResponse response, ServletContext sc)
        {
                request.setAttribute("MemberSolutionsNews", "this is the
daily news");
        }
}

</snip>

I can't see the problem; I've checked the archives for similar issues but
didn't find anything.  I'm using Struts 1.1 Final.  Any ideas?

Jerry Jalenak
Team Lead, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS  66219
(913) 577-1496

[EMAIL PROTECTED]


This transmission (and any information attached to it) may be confidential
and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at the following email address:
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to