We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,803 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

make tomcat send php request to apache

I have a project made with jsp on a apache tomcat server.
I also have intalled wamp server package for the purpose of using a data base made with phpmyadmin. I was wondering if i could also use php pages im my project.
I learned that a posible way would be to make the apache tomcat server send the php request to the apache html server in the wamp package.
I have followed a lot of tutorials to no result, somme were out of date, some i just couldn't understand as i have no server configuration esperience.
Any help is welcomed.

3
Contributors
6
Replies
4 Days
Discussion Span
1 Year Ago
Last Updated
7
Views
bowmaster
Newbie Poster
14 posts since Aug 2010
Reputation Points: 7
Solved Threads: 0
Skill Endorsements: 0

Tomcat works with MySQL without Apache. Apache and Tomcats are servers doing similar joby utilizing different technology.
So Install Tomcat and then install MySQL server and use JDBC to connect to MySQL

Stefano Mtangoo
Senior Poster
3,731 posts since Jun 2007
Reputation Points: 462
Solved Threads: 396
Skill Endorsements: 0

My problem is getting php to work on tomcat not sql. Sql works just fine.

bowmaster
Newbie Poster
14 posts since Aug 2010
Reputation Points: 7
Solved Threads: 0
Skill Endorsements: 0

My problem is getting php to work on tomcat not sql. Sql works just fine.

Why would you want to do that?

Stefano Mtangoo
Senior Poster
3,731 posts since Jun 2007
Reputation Points: 462
Solved Threads: 396
Skill Endorsements: 0

I have to do most of my project in jsp since the teacher that coordinates my project teaches jsp at my university but he said that i can also use php to make some smaller projects and atach them to the main one. And php is faster to work with for this purpose. I am looking for guidance and/or answers from someone who has done server configs before and is familiar with apache worker procese.

bowmaster
Newbie Poster
14 posts since Aug 2010
Reputation Points: 7
Solved Threads: 0
Skill Endorsements: 0

I have to do most of my project in jsp since the teacher that coordinates my project teaches jsp at my university but he said that i can also use php to make some smaller projects and atach them to the main one. And php is faster to work with for this purpose. I am looking for guidance and/or answers from someone who has done server configs before and is familiar with apache worker procese.

No Don't do that. You will make it more complex. Just do all things in either JSP and Servlets or PHP. Don't mix the two beasts

Stefano Mtangoo
Senior Poster
3,731 posts since Jun 2007
Reputation Points: 462
Solved Threads: 396
Skill Endorsements: 0

you are realy not helping me

bowmaster
Newbie Poster
14 posts since Aug 2010
Reputation Points: 7
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0952 seconds using 2.68MB