place your images in the directory http://yourhost:port/images/ and make
sure that the /images is avaliable only thru apache ..... and in your
application do <img src="/images/logo.gif"> simple ....

guru

-----Original Message-----
From: Bhushan_Bhangale [mailto:[EMAIL PROTECTED]]
Sent: 15 May 2002 05:05
To: [EMAIL PROTECTED]
Subject: Re: Apache Tomcat Configuration problem


I am successfully able to do the Apache 1.3.9 and Tomcat 4.0.3 configuration
using the following link.
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html

Now I have one doubt over the configuration.

This is the entry which I did in Virtual host section of httpd.conf file of
Apache. The Hunt is a context of my application deployed in Tomcat. It is
saying /Hunt/* which means all the files under Hunt context will be served
by Tomcat, but I want taht the tomcat should serve only JSP and Servlet.
Rest of the files should be served by Apache. How to achieve that? The
/*.jsp kind of pattern is of no use as nowadays we use Web Applications
every where for which we needs to define context. We don't use servlet
invoker, instead use web.xml and define the servlets there.

JkMount /*.jsp test
JkMount /Hunt/* test

By keeping all the servlets under one url pattern we can achieve that, but I
want to know if there is any other way of doing this.

-----Original Message-----
From: Bhushan_Bhangale
Sent: Tuesday, May 14, 2002 4:35 PM
To: [EMAIL PROTECTED]
Subject: Re: Apache Tomcat Configuration problem


Thats what I also think but when i give the context name and the jsp name in
the url, the error.log of Apache says file not found. Probably at present
the configuration is not right, it is giving me this error.
At present I don't have net connection so will try the URLs sent by you guys
later and will let you all know what happened.

-----Original Message-----
From: Raghupathy, Gurumoorthy
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 4:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Apache Tomcat Configuration problem


hi ya,
        now you can run jsp on tomcat ( as standalone ) and using apache (
using mod_jk )
        the document root ( per application ) will as specified in your
server.xml
        ( as per your  context settings ) ...
        actually what happens is ( if you request a jsp from apache ) then
all the url is directed to tomcat
        which then process this and sends out the output to apache .... this
is done by mod_jk
        apache just stands as a access interface to tomcat ......

hope i am clear enuf ....
guru



-----Original Message-----
From: Bhushan_Bhangale [mailto:[EMAIL PROTECTED]]
Sent: 14 May 2002 11:49
To: [EMAIL PROTECTED]
Subject: Re: Apache Tomcat Configuration problem


Thanks Peter I will look into this document also.
Could you please answer my one more query? When Apache will be able to run
JSP using Tomcat, would it be able to run the Web Application deployed in
tomcat also? If yes then what will be the document root of Apache?

-----Original Message-----
From: Peter Smiley (EEI) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 4:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Apache Tomcat Configuration problem


Hi,

You should be able to configure both to run on NT 4.0.

There's a fairly good description of how to do this at
http://www.moreservlets.com/Using-Tomcat-4.html

Regards
Peter

-----Original Message-----
From: Bhushan_Bhangale [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 11:30 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat Configuration problem


Hi All,

Does Tomcat 4.0.3 and Apace Web Server 1.3.9 works on Windows NT 4.0?

I configured Apache WS with Tomcat but unable to run JSP and Servlet.

Can anybody help me?

Thanks & Regards
Bhushan Bhangale
Programmer Analyst
Infosys Technologies Ltd.
Pune - 411042
Tel: (Office) +91 (20) 2932800/01 Ext. 1176
Mobile: +91 9822454603
E-mail: [EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to