struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Cooper" <...@maxcooper.com>
Subject Re: No action instance for path /...
Date Tue, 03 Feb 2004 21:44:41 GMT
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" <daniel@top-it.com.br>
To: <struts-user@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


Mime
View raw message