Connecting Tech Pros Worldwide Forums | Help | Site Map

redirect to a JSP file from a PHP file

Newbie
 
Join Date: May 2007
Posts: 1
#1: May 17 '07
Hi,
I am using PHP and APache server for my project. I want to redirect to a JSP file from a PHP file. Should I run both APache and Tomcat simultanously? Will both the server listen to same port? What changes should I make to my php file and configuration files of Apache and Tomcat?
I am a novice to both PHP and JSP, please help me.

Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,904
#2: May 17 '07

re: redirect to a JSP file from a PHP file


You will not need to install both Apache and Tomcat, as Tomcat is Apache underneath. Conceivably you could configure Apache to work with both PHP and JSP files, but I do not know how to go about doing this. I would try googling how to set up JSP handling on an existing Apache server.
ak1dnar's Avatar
Moderator
 
Join Date: Jan 2007
Location: Colombo
Posts: 1,440
#3: May 18 '07

re: redirect to a JSP file from a PHP file


I don't have a idea whether its possible without TomCat.But if it is possible i also like to find out how and it makes the life easier.

How ever refer to this Article which describes the Apache/Tomcat Integration.
Reply