Click to See Complete Forum and Search --> : Getting Started with Apache 1.3: JSP on Apache


KevinReichard
07-17-2002, 10:43 AM
These talkbacks are in response to the article, Getting Started with Apache 1.3 (http://www.serverwatch.com/stypes/servers/article.php/1130981).

Muliawan writes:
Please someone help me on this...
I could not display .jsp page through Apache. I don't know what configuration should I set.

Please help.. I'm stuck on it.

awais responds:
i am also stuck and could not show page with extension *.jsp with apache and tomcat .configuration???????

ashish responds:
try apache with tomcat -- which has jsp features

Avinash Mehra responds:
You need to install Tomcat (download from apache site) and configure apache to work with tomcat.

maratha responds:
I think,you need a web server with servlet engine like tomcat. then use tomcat just to run jsp and apache for html only.

Vero responds:
Hi,
I've see your question on Apache Web Site.
You had a JSP/Apache Problem last year.
I have now the same problem as you.
Could you help me, thank you very much.

Bhanu responds:
apache on its own can't handle any jsp or servlet request, we need to configure some plugin for apache to handle these, the best plugin i encounterd is tomcat, u can download from the site www.jakarta.apache.com.

Ylan Segal responds:
If you are using tomcat, it is very easy to do:

Follow the instructions provided in the tomcat documentation in:

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html

The process is this:
Copy the mod_jk library to the appropiate directory
Edit the httpd.conf file and add the following at the end:
- Include TOMCAT_HOME/conf/mod_jk.conf-auto

That should do it.

steve responds:
You need to be running Tomcat alongside apache! Usually runs
on port 8080 by default (http://hostname:8080)

Subbu writes:
Re: how to run servlet on ApacheServer
1.install apache.
2.in httpd.conf give the server name as "local host" (Dont forget to remove the comment ie. # symbol
3.You need an adopter for servlets.(ex.jserv)
4.compile the code.place the .class files of your servlets in the directory called servlets.
5.in address bar give http://localhost/servlet/servletname(.class name) contact:subramanians@ionidea.com

Rajeev writes:
we have Apache server installed on solaris 2.6 and currently we are using CGI-Perl scripts on it. Now for some specific requirements we also wants to use Servlets. I know that I can use servlets on Apache by installing Tomcat or Resin, but wants to know can we use CGI-perl and Servlets simultaneously on Apache???

gv writes:
I am trying to integrate Tomcat and Apache on Win 98 with mod_jk. But I have a question about Visual C++ 6.0 - is it a prerequisite to make mod_jk to work!

garry writes:
I got the following message from a prompted up window after I typed the "startup" in bin directory:

2001-09-05 23:30:11 - ContextManager: Adding context Ctx( /examples )
2001-09-05 23:30:11 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2001-09-05 23:30:11 - ContextManager: Adding context Ctx( )
2001-09-05 23:30:11 - ContextManager: Adding context Ctx( /test )
2001-09-05 23:30:11 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
2001-09-05 23:30:11 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007

then stopped (the cursor was blinking under the following message), does this mean the tomcat is running ok or something wrong? Thanks a lot!

Sujay writes:
as a web-server, which one is better ... apache or tomcat?

maca responds:
Both are the best on this planet. LOL Tomcat is best for dynamic content JSP/servlets and Apache can static html well. Both together make fantastic team...