Re: Error : No Action Instance for path could be Created

2003-09-22 Thread Ted Husted
It usually means that the Action class couldn't be found on the 
classpath. Another, albeit unlikely cause, would be if there were a 
member that could be instantiated for some reason.

-Ted.

guruprasad jakka wrote:

Hi,

I am using action chaining to call an action for an action.
The new action has a different actionform to that of the calling
action.
But, When I run the application, I get the error,

No action instance for path /srfailure could be created.

srfailure is the path for the new action.

what might be the error?

All the action and form classes are present.

My entries in struts-config.xml is as follows,
action-mappings
!-- Registration Action --
actionpath=/registration
   type=RegistrationAction
   name=registrationForm
   scope=request
   validate=true
   input=/registration.jsp
   forward name=success 
path=/success.jsp/
   
/action

action   	   path=/srfailure
   type=SRFailureAction
   name=srfailureForm
   scope=session
  
   forward name=failure   path=/SRFailure.jsp/
/action

  /action-mappings



J G Guru Prasad
V sem, Information Technology,
Bachelor of Engineering,
National Institute of Technology Karnataka, Surathkal.
( formerly KREC )

Get your own 800 number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
Ted Husted,
  Junit in Action  - http://www.manning.com/massol/,
  Struts in Action - http://husted.com/struts/book.html,
  JSP Site Design  - http://www.amazon.com/exec/obidos/ISBN=1861005512.
Get Ready, We're Moving Out!! - http://www.clark04.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: error in action

2003-03-07 Thread Sri Sankaran
Are you saying that you have a problem with:

public execute(...) {
 .
 .
 return mapping.getInputForward();
}

Sri
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 07, 2003 8:16 AM
To: Struts Users Mailing List
Subject: error in action


Hi, if i've an a page that call an action if in this action i've an error how i return 
to page that invoked the action? i try to use mapping.getInputForward(), but this 
return me the path of my action...i try to save the url but have a problem (see my 
preavious mail Problem mapping/url)...there is an method like 
javascript:history.go(-1)?? sorry for my stupid question,thanks. Ale


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Error creating action

2001-08-21 Thread Satyen . Chikane

1. Your RequeteAction should be in classpath.
2. RequeteAction should not have any errors.
3. Check the name of class is correct, i mean type mistake.



-Original Message-
From: BOURREE Pierre [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 4:15 PM
To: '[EMAIL PROTECTED]'
Subject: Error creating action


Hi,

i'm a new user of struts and did not manage to execute an action mapping.
Here is the message log from jasper : 
JASPER_LOG Tue Aug 21 17:03:02 CEST 2001 Class name is:
_0002frequete_0002ejsprequete_jsp_0/JASPER_LOG 
Context log path=/struts-jdbc :action: Error creating Action instance for
path '/requete', class name
'com.sopra.etudestruts.jdbcstandard.RequeteAction'

I would appreciate any help.




++
| Ce courrier ainsi que les fichiers joints sont confidentiels.  |
| Si vous avez recu ce courrier par erreur, veuillez en informer |
| l'administrateur du systeme : [EMAIL PROTECTED]   |
|  - |
| Ce message confirme que le courrier a passe le controle|
| antivirus du relais de messagerie Internet avec succes.|
++


--
The information in this Internet email is confidential and may be 
legally privileged. It is intended solely for the addressee. Access 
to this Internet email by anyone else is unauthorised.

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this Internet email are subject to the terms and conditions
expressed in any applicable governing ING Barings' terms of business or
client engagement letter.

Visit us at www.ingbarings.com

--



Re: Error: No action instance for path

2001-06-25 Thread Derek Guardiola

Is it possible to have two separate actions using the same action servlet as
long as the ActionServlet is not declared as long?

I'm getting the popular No action instance for path [PATH] could be
created.  I've double checked the bean declaration in the struts xml, as
well as double checked the action mapping.
My other actions are working fine.

--
Derek




Re: Error: No action instance for path

2001-03-22 Thread Craig R. McClanahan



On Thu, 22 Mar 2001, hunkpapa wrote:

 Hi I've a prolem.
 What is the cause of this error ?
 
 Error 500
 Location: /shop1/login.do
 No action instance for path /login could be created
 
 
Check the log files for your servlet container.  It's most likely, though,
that Struts could not create a class of the type you have specified in
your struts-config.xml file because it couldn't find that class in
WEB-INF/classes or WEB-INF/lib/*.jar.

Craig