my UI is in php , Now I connect it with JAVAEE app I have done that but when i redirecting another apps link from this app i dont get respose to the web server where currently php executing... what is the problem and how can I resolve it
Asked
Active
Viewed 23 times
0
-
1. php is server side language, you can`t have "UI" in php. 2. What you mean by "connect it with JAVAEE app"? – Oskars Pakers Feb 21 '14 at 07:47
-
U r right that is php server side page for taking input from user , JAVAEE app is a web application on another server. on that server two web applications which are communicating with each other we are taking request from php page and when redirecting from one app to another its not giving any response.Is their any way to load web page by using web service??? – user3336130 Feb 21 '14 at 11:12
-
Sorry, it`s not clear what you are trying to achieve. – Oskars Pakers Feb 21 '14 at 12:39
-
Lets take their are three web apps consider webapp A(in php),B(in java (using jsp,servlet)),C(in java (using jsp,servlet)). Now I Make a request From Application A to B at this time B execute some program and it redirects using response.sendRedirect() method to webpage on Applicaton c.but when program executing on B it come to response.sendRedirect but it won't redirect from B to C and wont give any response to A.we dont getting any clue why this is happening – user3336130 Feb 21 '14 at 15:51
-
Ok, how do you make a request from A to B? If you do it with curl, you have to configure curl to follow redirect. See: http://stackoverflow.com/questions/3519939/make-curl-follow-redirects – Oskars Pakers Feb 21 '14 at 15:53
-
Thanks Oskars it works – user3336130 Feb 25 '14 at 05:23