The default handling of JSP files is set in conf/web.xml: *.jsp and
*.jspx are handled by JspServlet.
In your "special" context, you could handle *.jsp and *.jspx files
with a servlet that just returns an error. That should do the trick.
--
Len
2009/7/4 Keith67 :
>
> This might seem like a str
This might seem like a strange request, but I would like to use Tomcat to
only serve static files, from a certain context anyway.
I have an application I would like to allow users to upload files through,
and then I want to be able to link to them and serve them from the server.
If I do this, I
On Sat, Jul 4, 2009 at 13:52, Jim Anderson wrote:
> Having said that, I'm a bit surprised that there was not
> error message generate by tomcat about seeing a reference
> to and with no definition available.
I would guess that JSP processor allows unknown tags in case its
output is to be proces
Hi Jim
A liitle OT, but I can recommend the HTML Validator plugin for Firefox (if
you don't already have it). It puts a red light in the bottom right corner
of the browser when you forget an import - the HTML is of course invalid.
Has saved me many a time...
Regards
Ron
- Original Mess
David,
Thank you to 'pid' and yourself. I spent quite a few hours
going over the source HTML from Firefox and fixed some
problems (e.g. an tag with no closing tag) and fixed some
inefficient code. I was getting very inconsistent results
and went through a number of iterations. This was to
follo
On 4/7/09 11:34, Clemens Eisserer wrote:
Hello,
To do some development/testing I would like to enable SSL/https for my
embedded tomcat version.
The SSL tutorial suggests to modify server.xml, however this version
of tomcat doesn't seem to have this file - instead all the
configuration seems to b
Hello,
To do some development/testing I would like to enable SSL/https for my
embedded tomcat version.
The SSL tutorial suggests to modify server.xml, however this version
of tomcat doesn't seem to have this file - instead all the
configuration seems to be done by the ant build.xml file which is u
On 4/7/09 00:22, Konstantin Kolinko wrote:
HttpSession session = request.getSession();
Is the request a legit one (that is, the one that is being served by
Tomcat now)?
Requests are recycled immediately after their processing is done,
and it can result in null being returned by that method (th