Bill Keese wrote:
Hello Paul,
Then maybe using TagSupport.findAncestorWithClass() would help ?
I don't think this would work because (I forget the correct terminology
but...) findAncestorWithClass() finds compile-time ancestors rather than
runtime ancestors. So in the following example, when
Hello Ted!
Besides
0x00AE; (J.Pietschmann)
and
?xml version=1.0 encoding=UTF-8?
!-- edit this with UTF-8 enabled editor --
(Martin Cooper)
you may also _try_ to use your favourite encoding,
for instnace this might work
?xml version=1.0 encoding=windows-1251?
!--
I'm trying to use betwixt to read xml that looks like.
foo x=5 y=10
bar a=1 b=2data/bar
/foo
See how properties are handled as attributes except for the body of bar.
Is there a way that I can do this with betwixt?
I was able to use a nightly build to write xml in this format however I
At 05:50 PM 6/9/03 -0700, Martin Cooper wrote:
If SizeLimitExceededException is thrown, that happens before parsing of
the multipart body even starts, since the size limit is based on the size
of the entire request.
So setSizeMax sets the total size of the request and not the maximum size of
On Tue, 2003-06-10 at 11:06, Shahed Moolji wrote:
By reading the intro to Digester, it looks like the right tool to build such
an application.
I'm partial to Digester, but in the interest of full disclosure, there
is another tool named Castor which might also be of use. It is available
from
I have used Castor more than a year ago for XML-Java mappings.
But it did not seem to have the ability to generate events as it parsed
the document.
All it did was convert an xml file to a bean and vice-versa.
Perhaps a lot has happened since then ?
I am also looking at OpenVXI, but thats
hi Abraham
round tripping mixed content is indeed on the to-do list. i'm very, very
busy at the moment. (the long-promised advanced type conversion is nearly
completed but i'm going to need some more time to finish it off and
document,) so it'd be great if you could contribute mixed content
the typical digester use case is xml-java mappings. most of the example
code out there following this pattern.
if i understand you correctly, you intend to create a event driven
architecture rather than a processed-custom-object-model architecture.
this sounds pretty interesting - if your
Hi all,
I am using the Struts version RC-1.
I am using the Struts upload and i am able to load
files upto about 230KB size. WHen the size of the
uploaded file goes more than 300KB, i am getting the
following exception.
Jun 10, 2003 7:01:03 PM PDT Error HTTP 101017
Jelly seems to swallow up namespace references. For example, in the
following program, the "ino:" is dropped from the output. Any workaround or
fix to this problem?
Program:
j:jelly xmlns:j="jelly:core"
xmlns:ino="http://namespaces.softwareag.com/tamino/response2"
Ashok Madhavan wrote:
Do you have a controller statement in your struts-config.xml and if
so are you setting
the upload file size limit ? For example:
controller maxFileSize=2M /
There are other parameters that can be set also. Another problem you may
run into is
that if you are uploading
hi Rob,
Thanks for the info. I am testing that now.
I got a another question.
I have a typical upload/download functionality. For
the upload i use the commons-fileupload and for the
download i use the ServletOutpurStream like this.
ServletOutputStream stream =
response.getOutputStream();
hi ROb,
I added the controller tag to the struts-config.xml
just after the action-mappings.
i added something like this :
controller maxFileSize=2M /
I then tried to add a 570K file and i still got the
same exception.
then i made the maxFileSize=-1. even then i was
getting the same exception.
Am
In the case you want to deal with/alter/omit/emit sax events, I find
Jelly an excellent tool.
-Kevin Ross
-Original Message-
From: robert burrell donkin
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 4:40 PM
To: Jakarta Commons Users List
Subject: Re: [DIGESTER] Newbie : Voice
14 matches
Mail list logo