Loks like Tomcat's not processing the JSPs , and Apache's just lifting the JSP's and service them to you.
A simple check to see it tomcat's been activated is to check the Tomcat logs. Also, there's no need to configure anything on the browser side when viewing JSPs. Jsps are processed on the server side, and send back HTML code to the browser. In your case, here's what's supposed to happen: -> You configure Apache so that it loads the Tomcat connector. -> Start Tomcat first and then Apache http server. -> If everything's OK, then here's what happens when you ask for a JSP. 1. The apache server receives a request for the JSP. 2. Tomcat takes over because its integrated with Apache (in your case). 3. Tomcat receives the request and response related objects, and passes these to the JSP. 4. The JSP receives these, does it's processing, and the resulting HTML is handed back to the web server, i.e. Apache httpd. 5. Apache httpd then returns this HTML to the browser. If tomcat's not configured, then the apache httpd server will just pick up the jsp file as if it were an ordinary file, and send this file to the browser. If the browser can understand this file's type (IE 5 does, this despite us setting the content type ), then it renders it. This is for files like gif images, etc. If the browser does not understand the file's type, then it gives you the download prompt. This is what's happening in your case. Sriram 03/11/2001 3:14:23 PM, sudhir agrawal <[EMAIL PROTECTED]> wrote: >Hi all, > >I am facing a very strange problem with tomcat 3.2.1 > i have integrated it with Apache 1.3.12 > >whenever i made a request to load a jsp file from >browser .browser open a popup window to download the >file. > >What my be the problem.My browser Mime Type is >configured to accept jsp file. I think there is some >problem in configuring web.xml. > >Is there any option for configuring MIME type in >tomcat configuration file. > >or this is a bug in tomcat?? > >Please help me >Thanks in Advance > >__________________________________________________ >Do You Yahoo!? >Find a job, post your resume. >http://careers.yahoo.com > >-- >To unsubscribe: <mailto:[EMAIL PROTECTED]> >For additional commands: <mailto:[EMAIL PROTECTED]> >Troubles with the list: <mailto:[EMAIL PROTECTED]> > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
