Re: Strtus2: httpheader result does not sent headers with hyphenated names

2011-01-12 Thread jlmagc
obile -Original Message- From: Dave Newton Date: Wed, 12 Jan 2011 18:09:30 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List" Subject: Re: Strtus2: httpheader result does not sent headers with hyphenated names No problem--maybe my email is messed up, because I just got

Re: Strtus2: httpheader result does not sent headers with hyphenated names

2011-01-12 Thread Dave Newton
age- > From: Dave Newton [mailto:davelnew...@gmail.com] > Sent: Wednesday, January 12, 2011 6:00 PM > To: Struts Users Mailing List > Subject: Re: Strtus2: httpheader result does not sent headers with > hyphenated names > > Did you try my original answer?! > > Dave

RE: Strtus2: httpheader result does not sent headers with hyphenated names

2011-01-12 Thread Jose Luis Martinez Avial
Yes, it worked!!. Thanks. Jose Luis -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Wednesday, January 12, 2011 6:00 PM To: Struts Users Mailing List Subject: Re: Strtus2: httpheader result does not sent headers with hyphenated names Did you try my original

Re: Strtus2: httpheader result does not sent headers with hyphenated names

2011-01-12 Thread Dave Newton
Did you try my original answer?! Dave On Wed, Jan 12, 2011 at 10:59 AM, Jose Luis Martinez Avial < jlmarti...@pb-santander.com> wrote: > Hi all, > >I'm using Struts .2.1.8.1, and I've found a problem when I use > result type httpheader and I try to use a header name with a hyphen. > They don

HowRE: Struts2: httpheader result does not sent headers with hyphenated names

2011-01-12 Thread Jose Luis Martinez Avial
cation.java:237) Any idea on how to avoid this behaviour? -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Wednesday, January 12, 2011 12:30 PM To: Struts Users Mailing List Subject: Re: Struts2: httpheader result does not sent headers with hyphenated names I wonder if

Strtus2: httpheader result does not sent headers with hyphenated names

2011-01-12 Thread Jose Luis Martinez Avial
Hi all, I'm using Struts .2.1.8.1, and I've found a problem when I use result type httpheader and I try to use a header name with a hyphen. They don't get sent. For example, the following result definition: 401 NTLM my header NTLM I receive the headers "a" and "WWW

Re: Struts2: httpheader result does not sent headers with hyphenated names

2011-01-12 Thread Dave Newton
Not sure; maybe try "headers['WWW-Authenticate']" first? Dave On Wed, Jan 12, 2011 at 4:50 PM, JOSE L MARTINEZ-AVIAL wrote: > I launched an exception to get the stacktrace, and it calls OGNL: > > java.lang.Throwable >at > > com.spb.mvc.controller.web.struts2.json.ResponseJSONResult.setMy

Re: Struts2: httpheader result does not sent headers with hyphenated names

2011-01-12 Thread JOSE L MARTINEZ-AVIAL
I launched an exception to get the stacktrace, and it calls OGNL: java.lang.Throwable at com.spb.mvc.controller.web.struts2.json.ResponseJSONResult.setMyValue(ResponseJSONResult.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMet

Re: Struts2: httpheader result does not sent headers with hyphenated names

2011-01-12 Thread Dave Newton
I wonder if that's an OGNL thing. Dave On Wed, Jan 12, 2011 at 12:24 PM, JOSE L MARTINEZ-AVIAL wrote: > Hi all, > >I'm using Struts .2.1.8.1, and I've found a problem when I use result > type httpheader and I try to use a header name with a hyphen. They don't > get > sent. For example, the

Struts2: httpheader result does not sent headers with hyphenated names

2011-01-12 Thread JOSE L MARTINEZ-AVIAL
Hi all, I'm using Struts .2.1.8.1, and I've found a problem when I use result type httpheader and I try to use a header name with a hyphen. They don't get sent. For example, the following result definition: 401 NTLM my header NTLM I receive the headers "a" and "WW

Re: httpheader result type

2009-09-03 Thread Mark Rollins
imited) gives the impression that you >>> can >>> specify an error message when using the errorMessage parameter with the >>> error parameter, and even being able to pick up a message from the value >>> stack using an OGNL expression. >>

Re: httpheader result type

2009-09-02 Thread Dave Newton
and the content (as you said) is empty. -- View this message in context: http://www.nabble.com/httpheader-result-type-tp25254438p25257727.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: httpheader result type

2009-09-02 Thread Wes Wannemacher
Having looked at what is returned (firebug in firefox), I can see no mention > of the error and the content (as you said) is empty. > > -- > View this message in context: > http://www.nabble.com/httpheader-resu

Re: httpheader result type

2009-09-02 Thread Mark Rollins
oked at what is returned (firebug in firefox), I can see no mention of the error and the content (as you said) is empty. -- View this message in context: http://www.nabble.com/httpheader-result-type-tp25254438p25257727.html Sent from the Struts - User mailing list archiv

Re: httpheader result type

2009-09-02 Thread Wes Wannemacher
>  Some details about the error go here, or an OGNL expression > > > > The page returned to the browser has no content. > > Any ideas anyone? > > Thanks. > -- > View this message in context: > http://www.nabble.com/httpheader-res

httpheader result type

2009-09-02 Thread Mark Rollins
content. Any ideas anyone? Thanks. -- View this message in context: http://www.nabble.com/httpheader-result-type-tp25254438p25254438.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: S2: httpheader result type

2008-01-04 Thread John Cartwright
s to the message, stack trace via In any case, having the class name provides me a workable solution - thanks so much for your help! -- john Laurie Harper wrote: [EMAIL PROTECTED] wrote: Hello All, in configuring the httpheader result type in the struts.xml file, is there a way to access obj

Re: S2: httpheader result type

2008-01-04 Thread Laurie Harper
[EMAIL PROTECTED] wrote: Hello All, in configuring the httpheader result type in the struts.xml file, is there a way to access objects on the value stack? Have you tried using an expression, as in ${ognl.expression.here} L

S2: httpheader result type

2008-01-03 Thread John . C . Cartwright
Hello All, in configuring the httpheader result type in the struts.xml file, is there a way to access objects on the value stack? Thanks! --john - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: HTTPHeader result

2007-05-08 Thread Laurie Harper
Veronica Iturrioz wrote: Hi, Had anyone work with ? How does the params "headers" work? I try different options but it seems to not produce any change xxx What did you try, and what were the results? Note the documentation for the 'parse' parameter [1], which says "parse - true by default

HTTPHeader result

2007-05-04 Thread Veronica Iturrioz
Hi, Had anyone work with ? How does the params "headers" work? I try different options but it seems to not produce any change xxx Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

httpheader result and headers with - in the name

2007-03-12 Thread Ryan Fife
Hello. I've been working on my first Struts2 application over the last couple of weeks and have been quite happy with it. I do have a question about the httpheader result that I hope somebody can help me out with. The documentation for the httpheader result mentions the param