jQuery in Action, 3rd edition
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 186
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: 1599
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to call Struts Action class from servlet?
 
It's not a secret anymore!