struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shashikant Hire" <>
Subject RE: Struts - Not instantiating Action class.
Date Wed, 02 Mar 2005 07:06:53 GMT

The speech application is developed using vxml, Nuance has provided its own
version of send command to invoke the jsp,
which accept URI of jsp. Though nuance uses strut but it does not allows us
to modify their struts-config.xml.

The log file (log4j) contain debugging info. In our form we implemented
method toString. Struts call this method.
I have also added default constructor in Action class. This constructor
simply log the info, but that is not seen in log file.
I will try to send my stuff.

I will try to use it. Yes we did tested our logic and that's work correctly.
The application first developed without struts, and that worked, after
moving it to Strut we got this issue.

Attached is the log file. Following is the debug message from toString() of
my form.
DEBUG [8080-Processor4] 2005-03-18 15:17:59,500 :
RequestUtils.createActionForm :  --> CSatSurvey


-----Original Message-----
From: Fogleson, Allen []
Sent: Wednesday, March 30, 2005 12:08 PM
To: Struts Users Mailing List;
Subject: RE: Struts - Not instantiating Action class.


1) Why can't it use the of struts? Its just a resource as far as
an external system is concerned.

2) How do you know the action is not instantiated? Are you getting an
error message in tomcat? Can you send that along if so. Without an error
message I would be want to think that the action is being instantiated,
you are just not seeing the results you expect.

3) Have you tested your action with some type of unit test to make sure
it is really working? A pretty good example of how to test struts
actions can be found in Matt Raible's equinox (it's a minimalistic
webapp for training vs appfuse which is for production use).


-----Original Message-----
From: Shashikant Hire []
Sent: Wednesday, March 02, 2005 12:14 AM
To: Struts
Subject: Struts - Not instantiating Action class.


My application consists of two major component one is speech application
other is web application.
The speech application send some data to web application, web app store
data in database.

The speech application is developed using Nuance VBuilder and it is
in Nuance v-server.
The web application is deployed in tomcat.

Speech application invoked a jsp (as speech application can not using
action mapping of Strut-config.xml). In the body load method of jsp/html
calls document.forms[0].submit. In the action property of form we have
specified the action mapping.

When html is loaded it does invoke the Strut framework, The Strut frame
create instance of our Form object. But it
does not create instance of my Action object and does not calls execute

what is wrong, can anybody help me ? Why action object is not created by
Strut? How to debug this?

Thanks in advance


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message