Re: incorporating EL support

2002-09-12 Thread David M. Karr
> "Craig" == Craig Longman <[EMAIL PROTECTED]> writes: Craig> i see in the src dist for the reference jstl that there are a couple of Craig> classes that look promising to use. one is an interface Craig> (ExpressionEvaluator) and then an implementing class Craig> (ExpressionE

Re: PageContext is always null with taglibs

2002-09-12 Thread Jungho Kim
try overriding setPageContext(PageContext ctx) and check that it is being invoked. public void setPageContext(PageContext ctx) { System.out.println("Inside " + getClass().getName() + ".setPageContext()..."); super.setPageContext(ctx); } That should settle any doubt that pageContext is be

RE: PageContext is always null with taglibs

2002-09-12 Thread Craig Longman
On Thu, 2002-09-12 at 19:59, Byrne Reese wrote: > I just seems odd since at one point it was working... but that was a > while ago, and I am kicking myself because I am not sure what on my > system changed other than Tomcat... well I did upgrade Axis Beta 3 to > RC1, but I can't see how that could

RE: PageContext is always null with taglibs

2002-09-12 Thread Craig Longman
On Thu, 2002-09-12 at 19:59, Byrne Reese wrote: > So I actually only enclosed a code snippet... I did several variations > while unit testing - and even tried to implement a simple HelloWorld > TagSupport class... but with no luck. :( one other thing that might cause this, is if you override the

RE: PageContext is always null with taglibs

2002-09-12 Thread Martin Cooper
If you think it might be a Tomcat configuration problem, then why not try dropping in something that's known to work, and see if it works for you? You could try the JSTL examples, or the struts-example.war web app from Struts 1.1-b2. -- Martin Cooper > -Original Message- > From: Byrne R

RE: PageContext is always null with taglibs

2002-09-12 Thread Byrne Reese
On Thu, 2002-09-12 at 16:45, Martin Cooper wrote: > Are you absolutely certain that pageContext is null, and that the problem is > not caused by either 'getId()' or 'city' being null? You're not checking > those before passing them to pageContext. > > Custom tags work just fine in Tomcat 4.0.4, s

RE: PageContext is always null with taglibs

2002-09-12 Thread Martin Cooper
Are you absolutely certain that pageContext is null, and that the problem is not caused by either 'getId()' or 'city' being null? You're not checking those before passing them to pageContext. Custom tags work just fine in Tomcat 4.0.4, so I think the problem must be somewhere in your own tag code

Distribution

2002-09-12 Thread Eddie Bush
Hi, I just downloaded the response taglib and unpacked it (the tar.gz archive), and I was curious why it didn't expand to somewhere like: jakarta-taglibs/response/ The standard taglib does this. In fact, all other jakarta tools I've used unpack in this standard fashion. Sorry to gripe - I ju

Place for...

2002-09-12 Thread Juha Halmu
I remember that there was a place ( if you use xslt), where people put their little kode-bits witch do something special or something basic. Is there a place for JSTL for that. I mean for me and the other beginners, it would be helpful to see a livecode... just in curious p.s I know there is a

Re: incorporating EL support

2002-09-12 Thread Ryan Lubke
On Thu, 2002-09-12 at 12:45, Craig Longman wrote: > On Thu, 2002-09-12 at 12:14, peter lin wrote: > > > > > > You should know that JSP2.0 includes EL built in. the early access > > implementation of JSP2.0 uses JSTL's el. > > oh, ok. well, that's good news. i guess that splits my question in

Re: incorporating EL support

2002-09-12 Thread Craig Longman
On Thu, 2002-09-12 at 12:14, peter lin wrote: > > > You should know that JSP2.0 includes EL built in. the early access > implementation of JSP2.0 uses JSTL's el. oh, ok. well, that's good news. i guess that splits my question into a couple pieces: 1) jsp2.0 including EL, does that mean that

Re: incorporating EL support

2002-09-12 Thread peter lin
the proposed final draft and early access implementation has been posted on http://java.sun.com/products/jsp/ There's been a lot of activity on tomcat-dev dealing with JSP2.0. I have no idea when it will be released. Perhaps one of the members in the expert group can answer that question. peter

Re: incorporating EL support

2002-09-12 Thread Henri Yandell
Any idea on when we should expect JSP2.0 Peter? Whether we all bother to EL things really depends on whether JSP2.0 is around the corner or not gonna happen til Spring 2004. Especially as we have to add in time for when we can expect JSP2.0 in servers. Does Craig's code in anyway tie him to JSP

Re: incorporating EL support

2002-09-12 Thread peter lin
You should know that JSP2.0 includes EL built in. the early access implementation of JSP2.0 uses JSTL's el. You may want to look at the draft spec to familiarize yourself with the changes that will occur when JSP2.0 is released. peter lin Craig Longman wrote: > > hi there, > > i'm just st

incorporating EL support

2002-09-12 Thread Craig Longman
hi there, i'm just starting out with jsp/taglibs, and have decided to focus on using the jstl as the basis for my efforts. it seems to provide exactly what i needed, some basic, compatible tags to get started. it is clear, however, that i'm going to have to write my own tags to get any serious

Re: JSP compile error

2002-09-12 Thread Randall R Schulz
Bobby, At 07:07 2002-09-12, Thomas, Bobby P wrote: >I would really appreciate if anyone could help me with an error while the >JSP engine tries to compile my JSP. I am using iPlanet WebServer which >utilizes jakarta's Jasper JSP Enginer. > >My JSP: ><%@ taglib prefix="util" uri="/../web-inf/util.

Re: JSP compile error

2002-09-12 Thread Shawn Bayern
On Thu, 12 Sep 2002, Thomas, Bobby P wrote: > I would really appreciate if anyone could help me with an error while the > JSP engine tries to compile my JSP. I am using iPlanet WebServer which > utilizes jakarta's Jasper JSP Enginer. > > My JSP: > <%@ taglib prefix="util" uri="/../web-inf/util.t

JSP compile error

2002-09-12 Thread Thomas, Bobby P
I would really appreciate if anyone could help me with an error while the JSP engine tries to compile my JSP. I am using iPlanet WebServer which utilizes jakarta's Jasper JSP Enginer. My JSP: <%@ taglib prefix="util" uri="/../web-inf/util.tld"%> (line 17) I get the error : JSP: JSP1x compiler

PageContext is always null with taglibs

2002-09-12 Thread Byrne Reese
I am trying to write a custom taglib that extends the TagSupport class. At one point my implementation worked, but when upgrading to Tomcat 4.0.4, I keep getting a NullPointerException because the protected variable pageContext is null. Any clues? Is tomcat's servlet implementation no longer se

Re[2]: [standard] fmt:message overrides my encoding

2002-09-12 Thread Lukasz Kowalczyk
Thursday, September 12, 2002, 12:00:29 AM, you wrote: JL> Lukasz, >> All my JSP pages have <%@page contentType='text/html; charset=utf-8'%> >> directive on top and the browser should get them in UTF-8. When I use >> tags, the encoding is reset to my locale's default >> encoding (which is iso-8