File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

apache doesn't run jsp

 
moshi cochem
Ranch Hand
Posts: 91
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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!
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17626
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic