File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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

how to call servlet from struct action class

Ritesh Khadke

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 can i forward it???

How can i forward all 10 values..

Please help me....
Thankx in advance........
Consider Paul's rocket mass heater.
subject: how to call servlet from struct action class
Similar Threads
passing values from struts2 form to javascript
Posting one selected option value in two forms
Problem accessing the form object of a different frame
Can not Populate the form on combo box change
How to perform operations like insert,delete,add,move next etc in jsp page?