[EMAIL PROTECTED] wrote:
> Hi Rick
>
> My tomcat version is 5.5.12 and my web.xml looks like this:
>
> <!DOCTYPE web-app
>       PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>       "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
>
> <web-app>
>
> I had a look at Google, but I don't find an apropriate dtd and
> web-app-tag. Have you a tip where I can find one? If I can only change
> this line, I will do that, anywhere I will install the jstl libraries ...

The change you need to make is to that line:

<web-app xmlns="http://java.sun.com/xml/ns/j2ee";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
    version="2.4">

You can also look in your Tomcat installation directory for web.xml files.
 At the very least, the web.xml in your main conf directory should be 2.4
compliant.

You should use some sort of XML validation (check out Altova XMLSpy Home
Edition, which is free) to make sure that your web.xml is still valid. 
2.3 to 2.4 usually is pretty easy, but I haven't dealt with 2.2 in a long
time, so I'm not sure what if any changes you'll need to make.  With that
change, in-line EL (i.e. without the <c:out> tag) should work.  Again,
though, watch out for other changes that may come up because of the change
in web app spec.

Google "servlet 2.4" for a lot of information on what's in there.  Here's
a good article with a run-down of some of the main features:

http://www.onjava.com/pub/a/onjava/2004/02/11/jspcookbook.html

> Thanks for your great support (Ed! too).

np, hope you get it working!

-- 
Rick Herrick
[EMAIL PROTECTED]

I haven't got time for inner peace.

"No reasonable definition of reality could be expected to permit
this."--Albert Einstein, Boris Podolsky and Nathan Rosen in 1935



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to