#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    4
    Rep Power
    0

    Post Send username and password safely


    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
  2. #2
  3. Sarcky
    Devshed Supreme Being (6500+ posts)

    Join Date
    Oct 2006
    Location
    Pennsylvania, USA
    Posts
    10,692
    Rep Power
    6351
    What are you trying to do here? Why are there 2 servers? This is very confusing. Explain each server's setup and purpose, then define the desired data flow, then why what you have is different.

    Tips on writing a good question are in the new user guide.
    HEY! YOU! Read the New User Guide and Forum Rules

    "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin

    "The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002

    Think we're being rude? Maybe you asked a bad question or you're a Help Vampire. Trying to argue intelligently? Please read this.

IMN logo majestic logo threadwatch logo seochat tools logo