On Thu, 18 Apr 2002, Steve Appling wrote:
> BTW, in the example you sent you had:
>
>
> In my version, the attribute for the parse action needs to be
> "xmlText". Was that a typo or are you using a different version than I
> am? Also I was not aware that I could get a reader from the import
>
Thank you - I was under the mistaken impression that jstl.jar and
standard.jar contained the entire JSTL implementation (at least what wasn't
already in Tomcat's common lib). That definitely needs to make it into the
documentation.
BTW, in the example you sent you had:
In my version, the attri
Valve.invoke(StandardEngineValve.java
> :163)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at org.apache.catalina.core.ContainerBase.i
raries Users List" <[EMAIL PROTECTED]>
Sent: Thursday, April 18, 2002 3:25 PM
Subject: Re: JSTL x:parse problems
> On Thu, 18 Apr 2002, Steve Appling wrote:
>
> > Thank you Shawn! I had hoped I was just doing something stupid.
> >
> > Unfortunately that isn
On Thu, 18 Apr 2002, Steve Appling wrote:
> Thank you Shawn! I had hoped I was just doing something stupid.
>
> Unfortunately that isn't the only thing I'm doing wrong - this just moved me
> to my next problem. Here's a simplified example-
> ignoring the reader code I have:
>
>
That does in
Thank you Shawn! I had hoped I was just doing something stupid.
Unfortunately that isn't the only thing I'm doing wrong - this just moved me
to my next problem. Here's a simplified example-
ignoring the reader code I have:
where my source document looks like:
This is my first acti
use that approach - I was hoping there was
> something simple I was missing that was keeping this from working.
>
> - Original Message -
> From: "peter lin" <[EMAIL PROTECTED]>
> To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
> Sen
ally can take a Reader as the documentation
> states, then I would rather use that approach - I was hoping there was
> something simple I was missing that was keeping this from working.
>
> - Original Message -
> From: "peter lin" <[EMAIL PROTECTED]>
> To:
ECTED]>
> To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, April 18, 2002 8:42 AM
> Subject: Re: JSTL x:parse problems
>
> >
> > I think you're problem is that xmlText expects String. Have you tried
> > xmlURL, is
something simple I was missing that was keeping this from working.
- Original Message -
From: "peter lin" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Thursday, April 18, 2002 8:42 AM
Subject: Re: JSTL x:parse problems
>
>
I think you're problem is that xmlText expects String. Have you tried
xmlURL, isntead of xmlText. here is the way I use parse, which works
fine.
sample.xml
peter lin
Steve Appling wrote:
>
> I am having problems using the standard tag library x:parse tag using a
> reader. The JSTL
I am having problems using the standard tag library x:parse tag using a
reader. The JSTL spec says that the xmlText attribute can take either a
String or a Reader. I am trying the following:
<%
InputStream is = application.getResourceAsStream("/test.xml");
InputStreamReader reader = new InputSt
12 matches
Mail list logo