Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache Tomcat Web-Application not deployed

Status
Not open for further replies.

fsaerospace

IS-IT--Management
Feb 20, 2003
3
US
Hi All!!!

I am having great difficulties getting my Tomcat container setup with Apache. I am using the webapp module as a client and have set up a connection to /examples/ but whenever I type in
I get this error in the browser:

WebApp: Error 404
(File: wa_request.c Line: 197)
Web-application not yet deployed

Yet, when I type in I get the Tomcat examples. I have specified the "ServerName localhost" direction in Apache and did that before loading and adding the module.

What am I doing wrong??

Also,... tell me if I am right...
I want to use JSPs with my website which I currently have in the htdocs/html folder of Apache. Where would I put those JSPs? They'd go into that same directory together with my HTML files, right? So when Apache sees that someone wants to "open" index.jsp, it'll send that off to the webapp modules which will then give it to the tomcat container who will make the HTML page for Apache, right????

Thanks for helping!!!!!

Matthias M. Edrich
matthias@edrich.de
 
You have to put your JSP pages in whatever directory you specify in your Tomcat configuration. To later utilize those scripts, you would have to use a URI like [tt]/some-directory/a-file.jsp[/tt] where [tt]some-directory[/tt] is the directory you set up in your [tt]httpd.conf[/tt]. //Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top