File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes how to call servlet from struct action class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to call servlet from struct action class" Watch "how to call servlet from struct action class" New topic
Author

how to call servlet from struct action class

Ritesh Khadke
Greenhorn

Joined: Mar 23, 2009
Posts: 3
I want to call servlet in com.FiPl.StockClient package from action class of jsp page(struct action class)..
After performing the operations in servlet i want to return to action class for further processing and then i am returning success from action class..

My servlet is calling web service and getting the data which i am saving in database from servlet..
After returning to action class i want to calculate on that data...and i am using HTTPSESSION to forward data to jsp...

1>How i can call the servlet from action class?

2>I want to forward data from action class to jsp using HTTPSESSION and RequestDispatcher ....
if i want to forward multiple data from for loop.how can i forward it???




How can i forward all 10 values..



Please help me....
Thankx in advance........
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to call servlet from struct action class