RE: Error : request.getReader()

2007-01-26 Thread Dave Newton
From: Marcello Savino > Before you suggest me to re-write Struts ;-) .. > The proccessing of the request i need must be implemented in a large > struts existing application... Maybe the filter is a good idea, i > have to study how to implement it, where to put it. The request processor is

RE: Error : request.getReader()

2007-01-26 Thread Dave Newton
From: Marcello Savino > >Dave Newton wrote: > >[...] he just wants access to the request body *after* the parameters > have been processed. > >That's the only reason that request.getReader would throw an > exception. > >[...] > > [Marcello] > You got it ! Actually it was Chris that got it, I was

Re: Error : request.getReader()

2007-01-25 Thread Dave Newton
--- Christopher Schultz wrote: > No. The /request/ body after form processing (i.e. > at the top of the Action code, which gets executed > /after/ the request body has been read > by struts to populate the form bean. Oo. How is that going to help him see if it meets accessibility requirement

Re: Error : request.getReader()

2007-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Newton wrote: > --- Christopher Schultz wrote: >> I think you might be missing what he's trying to do. > > I'm pretty sure I am ;) > > You mean the HTML body after Action execution?! No. The /request/ body after form processing (i.e. at

Re: Error : request.getReader()

2007-01-25 Thread Dave Newton
--- Christopher Schultz wrote: > I think you might be missing what he's trying to do. I'm pretty sure I am ;) You mean the HTML body after Action execution?! I'm still not sure how this can be done on the server side without resorting to minor treachery; it seems like driving the site w/ HttpUni

Re: Error : request.getReader()

2007-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Newton wrote: > From: Marcello Savino >> Up again with more details, please help! > > Okay, what if you re-rendered the action you submitted from but gave it > a StringWriter? This is sick and wrong. > > What *specifically* are you attemp

RE: Error : request.getReader()

2007-01-25 Thread Dave Newton
From: Marcello Savino > Up again with more details, please help! Okay, what if you re-rendered the action you submitted from but gave it a StringWriter? This is sick and wrong. What *specifically* are you attempting to do? Dave --

RE: [OT] RE: Error : request.getReader()

2007-01-25 Thread Dave Newton
From: Marcello Savino > I've read what you suggested but the problem is that i need a "submit > tag" in other words, i need to process the request content after the > user press a specific button (the others are handled in a > LookupDispatchAction subclass). ...you want to submit a form and have a

R: [OT] RE: Error : request.getReader()

2007-01-25 Thread Marcello Savino
Very interesting approach, thanks a lot Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Dave Newton [mailto:[EMAIL PROTECTED] Inviato: giovedì 25 gennaio 2007 15.49 A: Struts Users Mailing List Oggetto: [OT] RE: Error : request.getReader() From: Marcello

R: [OT] RE: Error : request.getReader()

2007-01-25 Thread Marcello Savino
of tag. Do you know where i can get more information to obtain the result ? Thanks Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Dave Newton [mailto:[EMAIL PROTECTED] Inviato: giovedì 25 gennaio 2007 15.49 A: Struts Users Mailing List Oggetto:

[OT] RE: Error : request.getReader()

2007-01-25 Thread Dave Newton
From: Marcello Savino > I really don't undestand what you mean. > Can you explain with a little example ? http://www.phptr.com/articles/article.asp?p=26119&seqNum=7&rl=1 http://java.sun.com/developer/Books/javaserverpages/cservletsjsp/index.h tml has a link (PDF) to the chapter about creating cus

Re: Error : request.getReader()

2007-01-25 Thread Dave Newton
Bollocks. --- Marcello Savino wrote: > In an Action subclass the execution of > "request.getReader()" throw en > IllegaStateException. Why not just create a custom tag that does whatever it is you think you need to do, wrap it around your entire page contents, then getting the body becomes as sim

Re: Error : request.getReader()

2007-01-25 Thread Dave Newton
--- Marcello Savino wrote: > In an Action subclass the execution of > "request.getReader()" throw en > IllegaStateException. Why not just write a *really* simple custom tag that does whatever it is you think you want to do with the output? Dave ___