RE: Getting Tomcat to display a web page hosted by HTTPD

2006-06-16 Thread Mann, Bradley
The web application code is directly attempting to load the page with
the

HttpServletResponse.sendRedirect(URL)

method. It seems to be having trouble seeing the file that is hosted by
HTTPD (I assume that Tomcat has no knowledge that it is running behind
httpd).


Thanks,

Brad Mann
Software Engineer - Information Access Services
HARRIS Corporation / GCSD
(321) 984-6292

-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 15, 2006 6:02 PM
To: Tomcat Users List
Subject: Re: Getting Tomcat to display a web page hosted by HTTPD

how are you redirecting to

http://localhost/Dir1/serverMessage.html

Filip



Mann, Bradley wrote:
 Hello,

 I have Tomcat running a web application behind HTTPD using the Jakarta
 connector. Here is my scenario:

 I navigate to http://localhost/Dir1/

 This is essentially a login page for my web application. The login
link
 directs to

 http://localhost/webapps/MyApp/servlet/Login?Tool=X

 And HTTPD uses this context path to start my web application.

 The problem I am having is getting my web application to display a web
 page that is located in a folder in the document_root of HTTPD, namely

 http://localhost/Dir1/serverMessage.html

 Every time the web application attempts to display this page I instead
 get a 404 error, stating Dir1/serverMessage.html cannot be found. How
 can I get my web application to display this page?

 Thanks,

 Brad Mann
 Software Engineer - Information Access Services
 HARRIS Corporation / GCSD
 (321) 984-6292


   



 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.394 / Virus Database: 268.8.4/364 - Release Date:
6/14/2006
   


-- 


Filip Hanik

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting Tomcat to display a web page hosted by HTTPD

2006-06-16 Thread Guido Schoepp

Mann, Bradley schrieb:

The problem I am having is getting my web application to display a web
page that is located in a folder in the document_root of HTTPD, namely

http://localhost/Dir1/serverMessage.html

Every time the web application attempts to display this page I instead
get a 404 error, stating Dir1/serverMessage.html cannot be found. How
can I get my web application to display this page?


Does it print
  Dir1/serverMessage.html  (relative path)
or
  /Dir1/serverMessage.html (absolute path)
?

  Guido


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Getting Tomcat to display a web page hosted by HTTPD

2006-06-16 Thread Mann, Bradley
I actually fixed the problem...I had a context path setup in Tomcat that
was overriding HTTPD. 


Brad Mann
Software Engineer - Information Access Services
HARRIS Corporation / GCSD
(321) 984-6292

-Original Message-
From: Guido Schoepp [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 6:42 AM
To: Tomcat Users List
Subject: Re: Getting Tomcat to display a web page hosted by HTTPD

Mann, Bradley schrieb:
 The problem I am having is getting my web application to display a web
 page that is located in a folder in the document_root of HTTPD, namely
 
 http://localhost/Dir1/serverMessage.html
 
 Every time the web application attempts to display this page I instead
 get a 404 error, stating Dir1/serverMessage.html cannot be found. How
 can I get my web application to display this page?

Does it print
   Dir1/serverMessage.html  (relative path)
or
   /Dir1/serverMessage.html (absolute path)
?

   Guido


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting Tomcat to display a web page hosted by HTTPD

2006-06-15 Thread Filip Hanik - Dev Lists

how are you redirecting to

http://localhost/Dir1/serverMessage.html

Filip



Mann, Bradley wrote:

Hello,

I have Tomcat running a web application behind HTTPD using the Jakarta
connector. Here is my scenario:

I navigate to http://localhost/Dir1/

This is essentially a login page for my web application. The login link
directs to

http://localhost/webapps/MyApp/servlet/Login?Tool=X

And HTTPD uses this context path to start my web application.

The problem I am having is getting my web application to display a web
page that is located in a folder in the document_root of HTTPD, namely

http://localhost/Dir1/serverMessage.html

Every time the web application attempts to display this page I instead
get a 404 error, stating Dir1/serverMessage.html cannot be found. How
can I get my web application to display this page?

Thanks,

Brad Mann
Software Engineer - Information Access Services
HARRIS Corporation / GCSD
(321) 984-6292


  



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.4/364 - Release Date: 6/14/2006
  



--


Filip Hanik

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]