Using http works but it's so slow on my current hosting service that it times out. Tried to resolve this with the provider but no success. Also, every http call adds up to your bandwith which can be costly.
PHP folks are not able to help. If anyone responds, they try to blame the servlet and it's just a big waste of time. I posted here hoping someone came across a problem like that. After all, many applications interface with servlets. This isn't just a PHP question. You'd have the same problem if you were coding in ASP. Every script that needs to read a servlet and does not understand what '/servlet/' is, will face the same issue. [ March 23, 2005: Message edited by: Jack Naby ]