Forum Moderators: coopster

Message Too Old, No Replies

Executing JSP in PHP

can you execute a jsp command in php?

         

barracuda

8:53 pm on Jan 14, 2004 (gmt 0)

10+ Year Member



I have a form processing script in php which submits data to email and a database, that works fine. However before it does that i need to create a secure hash from a jsp file. Im at a loss as to how to do this. Would the best bet be to use SOAP or similar, and if so would anyone be able to give me any pointers, i haven';t indulged in web services as yet.
Extremely grateful for any input.

coopster

5:15 pm on Jan 15, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, barracuda!

>>...i need to create a secure hash from a jsp file.

Why? The reason I ask is maybe there is a better way to accomplish the task. I guess more specifically, my question should be why does the secure hash need to come from the jsp file?

Also, have you had a look at the PHP / Java Integration [php.net] pages? There are quite a few User Contributed notes as well that may offer direction.

barracuda

4:40 pm on Jan 16, 2004 (gmt 0)

10+ Year Member



Thanks coopster for replying
Why the question? well i agree there are better ways of approaching this problem however the brief i have is to take a php script and generate a hash from a jsp library and then forward the results of both files. I have managed to acheive this simply by sending the variables to the jsp file then autosubmiting them onwards. I was hoping to be able to do this in a single browser call i.e. sending the post array to the jsp file, getting the results returned to the form processor(php) and then sending the two sets of data to the next program. Does that make any more sense?