• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

apache doesn't run jsp

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm working with moodle application. written in php - http://moodle.org/ - if someone knows it.
I have to call from it to jsp file that working in java application.
If there is a simple apache tomcat on the machine, the java app is running well.
In the moodle case, the tomcat server is encapsulated somehow inside the folders of the moodle.
I don't see there any folder called webapps - for puting there my war file.
I took the folder that should be developed out of the war file and manualy put it in the folder that contains
other php files. when i call to one of my jsp pages, I get the source of the file desplayed on the screen,
and not the result html.
Anybody has any idea ?
thanks
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
php and JSP are evaluated completely differently. Are you trying to place a war along with php files and expecting them to work ?
 
moshi cochem
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
thanks for your answer.
What I'm trying to do is taking Moodle application that is a php application, and from the php files to call to jsp files.
I relised that the moodle application is working on apache, and that jsp needs tomcat.
So, I guess I should search now for "how I can run Moodle application on tomcat" or something like this...
Any suggestion ?
Thanks a lot!
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

moshi cochem wrote:Hi,
thanks for your answer.
What I'm trying to do is taking Moodle application that is a php application, and from the php files to call to jsp files.
I relised that the moodle application is working on apache, and that jsp needs tomcat.
So, I guess I should search now for "how I can run Moodle application on tomcat" or something like this...
Any suggestion ?
Thanks a lot!



PHP can't "call" jsp files, but it can reference JSP content (and the reverse).

Apache (more formally Apache HTTPD) can't run Java - including JSP. Apache Tomcat can't run anything but Java - at least without help. So you'd need one of each, and the pages would have to reference the opposing resources using URLs.
 
reply
    Bookmark Topic Watch Topic
  • New Topic