I'd searched here for an answer but no match. My question is about one servlet keep calling other servlets. And each servlet is written in action class. So, the idea is kinda like this
e.g.
public class Servlet1Action implements Action{
//call Servlet2Action;
// once Servlet2Action is done, it will go back to Servlet1Action. The same deal to the rest of each servlet forwardings
//call Servlet3Action;
//call Servlet4Action;
out.println("the combo request is done!!")
out.flush();
out.close();
}
I don't know if this is possible to implement? If not, I also accept calling all ServletAction from a jsp, instead of Servlet1Action.
All servlets and jsp are built in the same ear file.
Thank you very much!
Start Free Trial