i wanna send a username and password securely from php page(Apache server) to the Java api (Tomcat server). That api should verify them and open the api in the browser. How can i achieve it guys???

I tried to use webservice but the response from the api is sent to webservice and then only it comes to the browser.

So when the browser tried to open the response page it searches for the script files and images from the Apache server. But those files are actually inside Tomcat server.

Can any one help to solve my problem? plssss........

Thanks,

SJ

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.