I created a folder in the htdocs directory called WEB-INF which has an web.xml file that has inside of it the following code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
   "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app>
</web-app>


And I am still getting the prompt to download the file.


Phil



I am not sure about this, but your problem seems to be confirming this. I
think the JSPs will not be compiled unless they are part of a web
application, i.e. you are being asked to save it because it isn't a format
your browser recognizes (it’s not a webpage). In the folder of your
test.jsp, you have to create a WEB-INF folder and it has to contain a valid
web.xml file (which can probably be empty aside from the <wep-app></web-app>
tags).



-----Original Message----- From: Phillip Blancher [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 1:05 PM To: [EMAIL PROTECTED] Subject: RE: Help (Started over again) Making Tomcat work with Apache

OK changed this. JSP is back to working, however localhost/test.jsp is still
coming up prompting me to save it.


Is there some kind of a file handler that needs to be placed in httpd.conf
for Apache for handling JSP's?

Phil


> >You changed the worng thing! The path is what is typed in the Adress >bar and the docBase is where the content is. So what you actually want >is: > > <!-- Tomcat Root Context --> > > <Context path="" docBase="d:/webserver/apache/apache/htdocs" >debug="0"/> >

_________________________________________________________________
Designer Mail isn't just fun to send, it's fun to receive. Use special
stationery, fonts and colors.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=htt
p://hotmail.com/enca&HL=Market_MSNIS_Taglines
  Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to