struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Pitts <jpi...@tahc.state.tx.us>
Subject Re: tomcat can't find action class
Date Mon, 16 Dec 2002 23:57:25 GMT
It's there in the right spot (I'm pretty sure). I'm not using the war to 
deploy, but the action is located at 
<webappbasedir>/WEB-INF/classes/tahc/hris/action/LogoffAction.class

--nathan

On Monday 16 December 2002 17:46, Karr, David wrote:

> It just can't find your Action class.  Verify that you've put the Action
> class into your WAR file properly.
>
> > -----Original Message-----
> > From: Nathan Pitts [mailto:jpitts@tahc.state.tx.us]
> >
> > Hi all,
> >
> > OK I've got Struts In Action and I'm ready for action!
> > Unfortunately, my web
> > app isn't.  For some reason, my action class cannot be
> > found...?  I will give
> > the details below. I would really appreciate any advice you
> > guys may have.
> >
> > Here's the deal:
> >
> > All I am trying to do is get Tomcat and Struts to play nice.
> > I am using
> > container managed security with a jdbcRealm (no problem
> > logging on).  I want
> > to create a simple "Logoff" action from within struts.  I am
> > using the
> > 1.1b_blank_application provided by struts and modifying it,
> > but keep getting
> > this error (from catalina.out):
> >
> > INFO: Processing a 'GET' for path '/Logoff'
> > Dec 16, 2002 5:20:10 PM org.apache.struts.action.RequestProcessor
> > processActionCreate
> > SEVERE: No action instance for path /Logoff could be created
> > java.lang.ClassNotFoundException: tahc.hris.action.LogoffAction
> >         at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC
> > lassLoader.java:1428)
> >         at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC
> > lassLoader.java:1274)
> >         at
> > org.apache.struts.util.RequestUtils.applicationClass(RequestUt
> > ils.java:193)........
> >
> > struts-config.xml clip:
> > <action path="/Logoff"
> >         type="tahc.hris.action.LogoffAction">
> >       <forward
> >             name="success"
> >             path="/pages/Welcome.jsp" />
> > </action>
> >
> > I have an action forward that looks like this:
> > <forward name="logoff"  path="/Logoff.do" />
> >
> >
> >
> > My LogoffAction class compiles fine.  Here's how I refer to
> > the LogoffAction
> > from a jsp page:
> > <html:link forward="logoff">Sign out</html:link>
> >
> >
> > Please send advice! Thanks in advance,
> > --Nathan Pitts
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
>
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message