struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "walkrustin" <walkrus...@yahoo.com>
Subject Problem in org.apache.struts.scaffold.FindForwardAction
Date Mon, 12 Apr 2004 15:08:07 GMT
I am trying to use FindForwardAction using scaffold package.
Struts-config.xml is:

    <action    	path="/topbar"
               	scope="request"
               	type="org.apache.struts.scaffold.
FindForwardAction"
	            name="userSearchForm"               	
               	validate="false" >
     	<forward name="button_search"	path="/userSearch.do" />   
           	
     	<forward name="button_new"	path="/views/new.jsp" />      
        	
    </action>         


My JSP code is :
<html:submit property="button_search">Search</html:submit>
<html:submit property="button_new">New</html:submit>


But I am getting following exception. Any idea.
thanks.
- walk rustin.

javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.
internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.
doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.
invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
995)
at org.apache.catalina.core.StandardContextValve.
invoke(StandardContextValve.java:191)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:643)
at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.
invoke(JBossSecurityMgrRealm.java:220)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.CertificatesValve.
invoke(CertificatesValve.java:246)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.
invoke(ContainerStatsValve.java:76)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.
java:2417)
at org.apache.catalina.core.StandardHostValve.
invoke(StandardHostValve.java:180)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.
invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.
invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.jboss.web.tomcat.security.SecurityAssociationValve.
invoke(SecurityAssociationValve.java:65)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.
java:577)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
995)
at org.apache.catalina.core.StandardEngineValve.
invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:
197)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.
java:781)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.
processConnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.
java:605)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.
run(ThreadPool.java:677)
at java.lang.Thread.run(Thread.java:534)

root cause 

java.lang.NoClassDefFoundError: 
org/apache/commons/scaffold/lang/ChainedException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
at java.lang.Class.getConstructor0(Class.java:1922)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
at org.apache.struts.util.RequestUtils.
applicationInstance(RequestUtils.java:231)
at org.apache.struts.action.RequestProcessor.
processActionCreate(RequestProcessor.java:326)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.
java:268)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:
1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:
525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.
internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.
doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.
invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
995)
at org.apache.catalina.core.StandardContextValve.
invoke(StandardContextValve.java:191)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:643)
at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.
invoke(JBossSecurityMgrRealm.java:220)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.CertificatesValve.
invoke(CertificatesValve.java:246)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.
invoke(ContainerStatsValve.java:76)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.
java:2417)
at org.apache.catalina.core.StandardHostValve.
invoke(StandardHostValve.java:180)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.
invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.
invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.jboss.web.tomcat.security.SecurityAssociationValve.
invoke(SecurityAssociationValve.java:65)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.
java:577)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
995)
at org.apache.catalina.core.StandardEngineValve.
invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.
StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:
197)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.
java:781)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.
processConnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.
java:605)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.
run(ThreadPool.java:677)
at java.lang.Thread.run(Thread.java:534)
Apache Tomcat/4.1.29





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


Mime
View raw message