u know we have a j2ee project (or a webfaced J2ee project).. where i have some servlet calling some cobol/CL programs.. and all..
what i want is .. i am going to make a CL program (on AS400) call a java program.. this is not my problem..
my problem is : how can I call a Servlet from a java program , from the main(String a) method??? IS there a way i can call a servlet from a java program.. as of what i knew till now, i can call a HttpServlet only from a browser...
After calling the servlet, i want the servlet to respond back to the browser.. possible???
The flow: jsp - (calling) - servlet - (calling) - cobol/CL prog - (calling) java prog, with main method - (calling) - servlet - responding back to the browser.. is this possible??
i really appreciate u guys, if u think there is a way out, to handle this.. thanks a lot ;-)
Joined: Jun 15, 2002
I think i found one way, of making the java prog call a servlet..