• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to call servlet from struct action class

 
Ritesh Khadke
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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........
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic