struts-user mailing list archives

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

(1)
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.

(2)
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.

(3)
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

regards
Shashi

-----Original Message-----
From: Fogleson, Allen [mailto:allen.fogleson@daugherty.com]
Sent: Wednesday, March 30, 2005 12:08 PM
To: Struts Users Mailing List; shashikant.hire@tatainfotech.com
Subject: RE: Struts - Not instantiating Action class.


Hmm

1) Why can't it use the XX.do 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).


Al

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

Hi,

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

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

Speech application invoked a jsp (as speech application can not using
the
action mapping of Strut-config.xml). In the body load method of jsp/html
it
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
work
create instance of our Form object. But it
does not create instance of my Action object and does not calls execute
method.

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

Thanks in advance

Regards,
Shashi


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


Mime
View raw message