Re: [Jelly] Modularization: To Return A Non XMLOutput/String Object

2003-06-10 Thread Paul Libbrecht
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

Re: unicode support

2003-06-10 Thread Anton Tagunov
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? !--

Betwixt Question (Mixed Content)

2003-06-10 Thread Fathman, Abraham
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

Re: [FileUpload] parsing part of a request

2003-06-10 Thread Cindy Ballreich
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

Re: [DIGESTER] Newbie : Voice XML Implementation ?

2003-06-10 Thread Tim O'Brien
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

Re: [DIGESTER] Newbie : Voice XML Implementation ?

2003-06-10 Thread Shahed Moolji
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

Re: Betwixt Question (Mixed Content)

2003-06-10 Thread robert burrell donkin
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

Re: [DIGESTER] Newbie : Voice XML Implementation ?

2003-06-10 Thread robert burrell donkin
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

Upload Problem

2003-06-10 Thread Ashok Madhavan
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] namespaces swallowed

2003-06-10 Thread Bill Keese
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"

Re: Upload Problem

2003-06-10 Thread Rob Leland
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

Re: Upload Problem

2003-06-10 Thread Ashok Madhavan
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();

Re: Upload Problem

2003-06-10 Thread Ashok Madhavan
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

RE: [DIGESTER] Newbie : Voice XML Implementation ?

2003-06-10 Thread Kevin Ross
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