This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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........
 
GeeCON Prague 2014
 
subject: how to call servlet from struct action class