wood burning stoves 2.0*
The moose likes Struts and the fly likes How to call Struts Action class from servlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to call Struts Action class from servlet? " Watch "How to call Struts Action class from servlet? " New topic
Author

How to call Struts Action class from servlet?

sudha swami
Ranch Hand

Joined: Apr 24, 2007
Posts: 179
Hi,

The application is developed in the STRUTS 1.1 framework. I developed a new servlet. At the end of my Servlet, I want to call the method in Struts Action Class.


It invokes the method in the Struts action class. In the Struts method,it performs all the steps. At the end it stops at return (mapping.findForward("list"));

I don't see any errors in my log file.

I am not sure where I am going wrong.

Any help is appreciated.

Thanks
Sudha
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1526
Have you configured "list" in your struts-config.xml?


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to call Struts Action class from servlet?