Re: formatDate sometimes doesn't render right

2004-06-25 Thread Kris Schneider
Next thing I'd try is eliminating Standard completely: <%@ page import="java.text.SimpleDateFormat" %> <%= new SimpleDateFormat("MMM dd, ").format(pageContext.findAttribute("release")) %> Quoting Leonard Sitongia <[EMAIL PROTECTED]>: > > On Jun 25, 2004, at 9:16 AM, Kris Schneider wrote:

Re: formatDate sometimes doesn't render right

2004-06-25 Thread Leonard Sitongia
On Jun 25, 2004, at 9:16 AM, Kris Schneider wrote: Have you tried testing without the tag? Thank you for your quick response, Kris. Yes I've tried without the cache tags, but the problem is intermittent. I can do many page reloads and not see it. It comes up a few times a week. I've posted to

RE: What is the method of direct acces to an array element?

2004-06-25 Thread Wendy Smoak
> From: Martin Cooper > At the very least, you'll want to change the 'varStatus' > value to 'status' > and change the 'myLoopIndex' usage to 'status.index'. The 'varStatus' > attribute exposes a structure rather than an index. Oops, yes, varStatus exposes a LoopTagStatus object: http://java.sun

Re: formatDate sometimes doesn't render right

2004-06-25 Thread Kris Schneider
Have you tried testing without the tag? Quoting Leonard Sitongia <[EMAIL PROTECTED]>: > Hi, > > The format taglib formatDate tag sometimes doesn't return the formatted > date. > > My JSP has a fragment that looks like this: > > > > > > (The cache tag library is from OpenSymphony.)

formatDate sometimes doesn't render right

2004-06-25 Thread Leonard Sitongia
Hi, The format taglib formatDate tag sometimes doesn't return the formatted date. My JSP has a fragment that looks like this: (The cache tag library is from OpenSymphony.) Most of the time, the page will show a date like Jun 11, 2004. Sometimes it will show the raw date format, like

Re:

2004-06-25 Thread Kris Schneider
JSTL Spec.: 11.1.2 XPath Variable Bindings Quoting David Goodenough <[EMAIL PROTECTED]>: > I was not using sessionScope: so that could have been the problem. I will > try it out. I do not remember seeing sessionScope anywhere, where is > it documented (I might easily have missed it)? > > I kn

Re:

2004-06-25 Thread David Goodenough
I was not using sessionScope: so that could have been the problem. I will try it out. I do not remember seeing sessionScope anywhere, where is it documented (I might easily have missed it)? I know the datastream is as I think, as the host end logs all requests and responses currently. Thanks

Re:

2004-06-25 Thread Kris Schneider
So the page has something like: <%-- or io:soap, io:http --%> ... ... If so, that should still work. Every time you run the page, the session-scoped var should be updated. Have you verified that the call is really producing what you think it should? If you don't use $sessionScop

Re:

2004-06-25 Thread David Goodenough
Yes that is exactly what I meant. But for some reason (maybe I was doing something else wrong) it did not seem to work. One possibility is that the Is this the kind of thing you mean? > > <%@ page contentType="text/plain" %> > <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml"; %> > > >

Re:

2004-06-25 Thread Kris Schneider
Is this the kind of thing you mean? <%@ page contentType="text/plain" %> <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml"; %> error: error node exists data: error node exists Which produces: error: error node exists data: In other words, the error node was f

taglibs-user@jakarta.apache.org

2004-06-25 Thread David Goodenough
I have an application where I send an XML structure to an HTTP host (using the io taglibs) and get an XML response. That response always has the same root tag, but what comes back either has an (with attributes and children) or some application dependant data. I have tried a variety of values in