Hi David,
After a couple of days I finally solved this question, you're correct... I
finally found a fix pack that fix this problem (WAS6 Fix pack 9 at
http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg27007534#steps).
So, for all people that uses WebSphere Application Server: Keep your WAS up
to date!
more about WAS updates at
http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg27004980
your suggestion pointed me to the right direction, thanks a lot!!!
-Rafael T Icibaci
----- Original Message -----
From: "Karr, David" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Monday, June 05, 2006 12:27 PM
Subject: RE: [Struts + Tiles] JSTL problem on WebSphere Application Server 6
Curiously, I thought to do a Google to verify whether Websphere 6 was a
Servlet 2.4 container, which is relevant to your situation, and in
addition to verifying that, I also found someone who had the exact same
problem as you, at <http://www.jroller.com/page/agrebnev/20050831>. As
this blog entry is almost a year old, perhaps there are revisions to WS6
that fixes this.
However, note the following:
1. You need to use the JSTL 1.1 version, as you have a Servlet 2.4
container.
2. You need to make sure your web.xml is using the servlet 2.4 format,
and not 2.3. If you use the latter, EL expressions in your JSP will not
be evaluated. The servlet 2.4 format uses a schema, and not a dtd.
-----Original Message-----
From: Rafael [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 04, 2006 12:16 PM
To: Struts Users Mailing List
Subject: Re: [Struts + Tiles] JSTL problem on WebSphere
Application Server 6
I'm using JSTL version 1.0, but 1.1 doesn't work too. No, I haven't.
>Can you explain "JSTL stopped working" a little more extensively?
sure, will try to give examples... I've a JSP page called
index.jsp in this index page I included another jsp page
called taglib.jsp in this taglib.jsp I've only the taglib URI
imports(see below). So, in the index.jsp page I use <%@
include file="taglibs.jsp" %> and so...I can make use of JSTL
tags. If I do so, in the index.jsp tags like <c:out
value="Hi"/> doesn't work, actually all JSTL tags doesn't
work. But if I include the URI tag (<%@ taglib
uri="http://java.sun.com/jstl/core" prefix="c" %>) in the
index.jsp page, all JSTL tags work perfectly...
**************Taglibs.jsp
******************************************************
<%--
This file includes all necessary tag libraries for the JSPs
in this application. Pages can include this file like this
<%@ include file="/taglibs.jsp" %> so that they don't have
to explicitly include all of these taglibs on each page.
--%>
<%@ taglib uri="struts-tiles.tld" prefix="tiles" %> <%@
taglib uri="struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
**************************************************************
******************
-Rafael T Icibaci
----- Original Message -----
From: "Samere, Adam J" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, June 02, 2006 12:36 PM
Subject: RE: [Struts + Tiles] JSTL problem on WebSphere
Application Server 6
I doubt that the include is not working. What version of JSTL are you
using? Do you have taglib entries in web.xml?
Can you explain "JSTL stopped working" a little more extensively?
-----Original Message-----
From: Rafael [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 11:01 AM
To: Struts Users Mailing List
Subject: [Struts + Tiles] JSTL problem on WebSphere
Application Server 6
Hi Guys,
I've an application that uses Struts and Tiles, this application was
running on WebSphere 5.1 for almost 3 years but now when we moved to
WAS6 JSTL stopped working. Let me give an example:
we've a jsp page called taglibs.jsp, in this jsp page we've all the
struts, jstl taglibrary imports. So, when we need struts or JSTL in
another JSP page we just include this taglibs.jsp. Using ->
<%@ include
file="/jsp/taglibs.jsp" %> , seems that WAS6 container support JSP 2.0
and somehow this caused the include directive to stop
working. I found a
lot of messages in Forums and after I read the JSP 2.0 spec, I decided
to set encoding to each page. Isn't worked because actually include
directive includes content like-> <p> Content </p> but don't include
taglib directives like the one below.
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
Any ideias ?
Thanks !!
-Rafael T Icibaci
-----------------------------------------
The information contained in this message may be privileged,
confidential, and protected from disclosure. If the reader of this
message is not the intended recipient, or any employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution, or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you. Paychex, Inc.
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
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]