It's not a secret anymore!
The moose likes Tomcat and the fly likes JSP and Servlets on apache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JSP and Servlets on apache" Watch "JSP and Servlets on apache" New topic

JSP and Servlets on apache

Sameera Abeysinghe
Ranch Hand

Joined: Nov 15, 2004
Posts: 104

I need to know everything about running JSP and Servlets on Apache

This is NOT apache tomcat. This is the apache server (widely used to run PHP)

I need to know
How to configure apache for JSP/Servlets?
How to run it?
Where should my JSP pages go?
Where should my Servlets go?

Thank You

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

You can't configure Apache to run servlets and JSPs. It's not a servlet container.

You can run both Apache and Tomcat and configure Apache to serve what it knows, and to delegate servlets and JSPs to Tomcat.

See previous topics in this forum on that topic.
[ August 07, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: JSP and Servlets on apache
jQuery in Action, 3rd edition