Re: T5 ignoring mime mapping

2004-08-18 Thread Andrew Shirk
the JSP spec). You have to use the jsp:directive.page contentType=... / syntax. Andrew Shirk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This is pretty much a stock T5 install. No filters are configured for this app. So if it is indeed a servlet, it must be the faces servlet

T5 ignoring mime mapping

2004-08-17 Thread Andrew Shirk
Despite having set a mime mapping for the .faces extension in my web.xml, Tomcat 5 still insists on returning a JSP 2 documents with the .faces extension as text/xml. Am I doing something wrong? mime-mapping extensionfaces/extension mime-typetext/html/mime-type /mime-mapping

Re: T5 ignoring mime mapping

2004-08-17 Thread Andrew Shirk
the document: jsp:directive.page contentType=text/html / This seems silly though since I'm already setting the mime type in web.xml. Andrew At 11:08 AM 8/17/2004, you wrote: It sounds like there is another servlet/filter/?? setting the content type to text/xml. -Tim Andrew Shirk wrote: Despite having set

Protecting JSPs in Tomcat 5

2004-07-26 Thread Andrew Shirk
In Tomcat 4, I would map request URLs to JSPs and handle the forwarding on the server side. Direct user access to JSPs was prevented using the following security constraint configuration: security-constraint display-nameJSP Protection/display-name web-resource-collection

Re: Protecting JSPs in Tomcat 5

2004-07-26 Thread Andrew Shirk
Please disregard my previous post. I Thank you. At 03:20 PM 7/26/2004, you wrote: In Tomcat 4, I would map request URLs to JSPs and handle the forwarding on the server side. Direct user access to JSPs was prevented using the following security constraint configuration: security-constraint

Re: Anyone really using JAX-RPC?

2004-06-29 Thread Andrew Shirk
Yes, we're using it (Sun JWSDP). Works as advertised. Andrew At 03:43 PM 6/28/2004, you wrote: Folks, Is anyone out there running a deployed application using JAX-RPC for soap/wsi? If so, are you using Axis, or the Sun JWSDP stuff? Or something else entirely?

Re: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Andrew Shirk
The trick is to use the deploy task rather than the install task, and include the context.xml (make sure it's named context.xml) in the META-INF directory inside the war file. Tomcat will find the context file, and add the contents to the server.xml file. Then, use redeploy to deploy changes,

Re: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Andrew Shirk
At 01:16 PM 1/22/2004, you wrote: I'm guessing this is a Tomcat 5 thing? I tried the context.xml (in my war's META-INF directory) thing in Tomcat 4.1.29 and it didn't work, but maybe I need to use Tomcat's Ant task for this to work? Yes, you need to use the Ant task (deploy). I use it daily

RE: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Andrew Shirk
At 12:47 PM 1/22/2004, you wrote: Are you using Tomcat 4 or Tomcat 5? For Tomcat 5, the deploy task works great. However, for Tomcat 4, I have found there is no perfect solution. The install task for Tomcat 4 is for installing web applications found on the same server as Tomcat. The deploy

RE: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Andrew Shirk
Dynamic Edge, Inc. -Original Message- From: Andrew Shirk [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 3:22 PM To: Tomcat Users List Cc: Robert D. Abernethy IV Subject: RE: Tomcat's Ant Tasks [Install] Importance: Low At 12:47 PM 1/22/2004, you wrote: Are you using Tomcat 4