You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Daniel <da...@top-it.com.br> on 2004/02/03 22:12:20 UTC
No action instance for path /...
How can I fix this message ???
SEVERE: No action instance for path /wellcome could be created
my struts-config.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<!-- ========== Data Source Configuration =============================== -->
<data-sources />
<!-- ========== Form Bean Definitions ================================== -->
<form-beans>
<form-bean name="homeBean" type="com.topit.bean.HomeBean" />
<form-bean name="indexBean" type="com.topit.bean.IndexBean" />
</form-beans>
<!-- ========== Global Exception Definitions ============================== -->
<global-exceptions />
<!-- ========== Global Forward Definitions =============================== -->
<global-forwards />
<!-- ========== Action Mapping Definitions =============================== -->
<action-mappings>
<action path="/home" type="com.topit.action.HomeAction" validate="false">
<forward name="success" path="/home.jsp" redirect="true" />
</action>
<action path="/wellcome" type="com.topit.action.WellcomeAction" validate="false">
<forward name="success" path="/wellcome.jsp" redirect="true" />
</action>
</action-mappings>
<!-- ========== Controller Configuration ================================ -->
<controller />
<!-- ========== Message Resources Definitions ============================ -->
<message-resources parameter="com.topit.ApplicationResources" />
<!-- ========== Plug Ins Configuration ================================= -->
</struts-config>
and when i tri to access on the browser: http://localhost:8080/appTeste/wellcome.do this error apper:
SEVERE: No action instance for path /wellcome could be created
Re: No action instance for path /...
Posted by Max Cooper <ma...@maxcooper.com>.
Is a compiled com.topit.action.WellcomeAction class file in the classpath
for your web app (WEB-INF/classes or WEB-INF/lib)? It seems to be saying
that it couldn't create an instance of your Action class for that path.
-Max
----- Original Message -----
From: "Daniel" <da...@top-it.com.br>
To: <st...@jakarta.apache.org>
Sent: Tuesday, February 03, 2004 1:12 PM
Subject: No action instance for path /...
How can I fix this message ???
SEVERE: No action instance for path /wellcome could be created
my struts-config.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts
Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<!-- ========== Data Source Configuration
=============================== -->
<data-sources />
<!-- ========== Form Bean Definitions ================================== -->
<form-beans>
<form-bean name="homeBean" type="com.topit.bean.HomeBean" />
<form-bean name="indexBean" type="com.topit.bean.IndexBean" />
</form-beans>
<!-- ========== Global Exception Definitions
============================== -->
<global-exceptions />
<!-- ========== Global Forward Definitions
=============================== -->
<global-forwards />
<!-- ========== Action Mapping Definitions
=============================== -->
<action-mappings>
<action path="/home" type="com.topit.action.HomeAction" validate="false">
<forward name="success" path="/home.jsp" redirect="true" />
</action>
<action path="/wellcome" type="com.topit.action.WellcomeAction"
validate="false">
<forward name="success" path="/wellcome.jsp" redirect="true" />
</action>
</action-mappings>
<!-- ========== Controller Configuration
================================ -->
<controller />
<!-- ========== Message Resources Definitions
============================ -->
<message-resources parameter="com.topit.ApplicationResources" />
<!-- ========== Plug Ins Configuration ================================= -->
</struts-config>
and when i tri to access on the browser:
http://localhost:8080/appTeste/wellcome.do this error apper:
SEVERE: No action instance for path /wellcome could be created
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
error- no getter method for property of bean
Posted by Frank Nguyen <fr...@sbcglobal.net>.
Hi,
I'm experimenting a simple form, adding a group (3 fields) to a simple, one
group table database, following some examples from the Struts book by James
Turner. All classes built (with Torque and mysql) and deployed. I couldn't
bring up the form and kept getting the error below. I think something is
wrong w/ my struts setup. Attached are struts config, my jsp, and some
simple java files. Could someone help me on this ? I really appreciate it.
-Frank
Error: 500
Location: /infolink/users/edit_group.jsp
Internal Servlet Error:
javax.servlet.ServletException: No getter method for property group_name of
bean org.apache.struts.taglib.html.BEAN
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:460)
at users.edit_group_1._jspService(edit_group_1.java:550)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
nterceptor.java:176)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516)
at java.lang.Thread.run(Thread.java:536)
Root cause:
javax.servlet.jsp.JspException: No getter method for property group_name of
bean org.apache.struts.taglib.html.BEAN
at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:742)
at
org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:193)
at users.edit_group_1._jspService(edit_group_1.java:241)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
nterceptor.java:176)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516)
at java.lang.Thread.run(Thread.java:536)