Web apps written in Java aren't typically calling using the CGI interface. They're called as JSP or Servlets instead. Usually by linking Apache to a servlet container like WAS or Tomcat.

That means that you probably can't expect the CGI data to be there.

Even if you did invoke the Java program as a CGI instead of as a JSP/Servlet, you'd still have a problem if you invoke the RPG program as a stored procedure, since the stored procedure would run in a separate job (the database server job) and not in the CGI environment. This problem could be solved by calling the RPG program as a native method -- plus that would be faster than invoking it as a stored procedure -- but you'd lose SOOOOOO much performnace by invoking the Java routine as a CGI that it would (IMHO) make the application unusable.

Java does not work well in a CGI environment.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.