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
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
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
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
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
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?
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,
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
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
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
10 matches
Mail list logo