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
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
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
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
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
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
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
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
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
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
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.
>>
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
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
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
> 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
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
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
[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
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
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
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
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
22 matches
Mail list logo