The error points to the
'com.labone.membersolutions.framework.tiles.NewsController'.  Since I've
sent this e-mail, I changed the class to extend TilesAction, and am now
using the controllerUrl attribute to point to a Struts action.  This seems
to work OK, so I'm not going to really worry about this.  I am curious as to
whether anyone has been able to use controllerClass with 1.1....

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

[EMAIL PROTECTED]


-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 3:27 PM
To: Struts Users Mailing List
Subject: Re: Class Not Found Exception with Tiles controllClass


What class is it not finding?  Assuming everything compiles ok, this is a
runtime classpath problem.

David

--- Jerry Jalenak <[EMAIL PROTECTED]> wrote:
> 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]
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [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]

Reply via email to