Can't be done. The HttpServletResponse does not provide a method to check if
there is already a cookie on the request. And I need to put the cookie
generated by the last action, not the first one.
Sent via BlackBerry from T-Mobile
-Original Message-
From: Dave Newton
Date: Fri, 24 Dec
How can I do that when I chain actions?. I mean, the second action is chained
after the first one, but there are situations in which there is no chaining at
all(both actions can be executed indepently) or the chaining can be the other
way. In all cases I need to keep only the last cookie generat
I do the same, but with an excel, and I'm able to write the excel direclty to
an input stream. I don't know about word, but I suppouse it would be the same.
Also, I think you can set a getFileName method in the action, and it can be
used as follows
attachment;filename="{fileName}"
Sent via Blac
That's right. I don't have access to the code now, but I will try to send it
later. Check the syntax, I'm sure you will find some examples
Sent via BlackBerry from T-Mobile
-Original Message-
From: maven apache
Date: Mon, 27 Dec 2010 20:42:15
To: Struts Users Mailing List
Reply-To: "Str
Check with a proxy(I use Paros) and see the headers thayt you are receiving.
Sent via BlackBerry from T-Mobile
-Original Message-
From: "Amit Oberoi"
Date: Mon, 27 Dec 2010 20:22:26
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: prompting me to download th
jsp file rather then
displaying it on the browser window
Jlmagc,
I tried to view the request headers on the Netbeans 7.0 HTTP monitor.
Below is what I get for the attribute accept
"image/jpeg, application/x-ms-application, image/gif, application/xaml+xml,
image/pjpeg, application/x-ms-xbap,
Yyy
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton b
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton bas
Yyy
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton b
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton bas
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton bas
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton bas
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton bas
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton bas
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton bas
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton bas
Yyy
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton b
Yy
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton ba
No, is that I am subscripted to the list with two accounts. I tried to send the
mail with one of them, but it apparently failed. Then I used the other one, and
it worked. A few hours later the first mail reached the list, that's why it
appears twice.
Sent via BlackBerry from T-Mobile
-Origi
I just check the source code, and it does not search on the root folder. That's
what caused the problem. So I move the package.property to a hierarchy common
to all my source code and it worked correclty. Thank you for your info.
Jose Luis
Sent via BlackBerry from T-Mobile
-Original Message
I thin that the symbol $ is messing the result. Have you tried this?
field.amount= {0} can not be {1} for Sequence {2}.
addActionError(getText("field.amount", new String[] { "Amount", "$0.00",
"987654"}));
Jose Luis
Sent via BlackBerry from T-Mobile
-Original Message-
From: kamlesh shar
Look on internet. It's a problem with the parser, you are using the wrong
version. I had the same problem and needed to change it using a JVM parameter.
Sent via BlackBerry from T-Mobile
-Original Message-
From: abhishek jain
Date: Thu, 10 Feb 2011 15:12:36
To: Struts Users Mailing List
Well, there are diferent options for this:
1) Load all the posibles values of the second select into javascript arrays
when loading the page, and the populate the second select using javascript once
the user has made a selection in the first select
2) Once the user has selected an element in the
Not right now, but you will find plenty of them on dojo's web page. But if you
are gonna use it only once, then I would suggest to implement it manually,
rather than start looking the dojo api(can be quite comples).
Actually, I got someplace an example of a select loaded dinamically using ajax
You need to put a Locale, not a String.
--Mensaje original--
De: sumitjain23
Para: user@struts.apache.org
Responder a: Struts Users Mailing List
Asunto: RE: struts 2 internationalization problem
Enviado: 14 Mar, 2011 02:11
If you look closely , I am doing the exact same thing i.e. setting
Humm, I think you need to be far more clear in your problem/request. I assume
you are navigating from one JSP to that Action, right? And in that navigation
you have a value that you need to put in the Action to load the list. If that
is the case, Struts will populate automatically any parameter
Just to comment that Struts2 will populate the parameter from the request if
you aure using the corresponding interceptor, or the default stack.
--Mensaje original--
De: Yo
Para: Struts Users Mailing List
Responder a: Yo
Asunto: Re: RE: loading Dropdown dynamically from database
Enviado: 1
Thanks, I will take a look.
JL
Sent via BlackBerry from T-Mobile
-Original Message-
From: Nils-Helge Garli Hegvik
Date: Wed, 16 Mar 2011 19:11:41
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: Re: Pluto embedded in Strstu 2.1.8.1
Hi!
The Struts2 portlet
Try setting cascade='true' in the definition of the attribute title.
Sent via BlackBerry from T-Mobile
-Original Message-
From: abhishek jain
Date: Fri, 1 Apr 2011 14:39:27
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: Tiles problem : Error executing tag:
Well, if there the field is empty, I understand that OGNL will try to match ““
to the field, so it will look for a setter that receives a String.
Sent via BlackBerry from T-Mobile
-Original Message-
From: Justin Robbins
Date: Tue, 3 May 2011 09:11:09
To: Struts Users Mailing List
Reply-
The reason is that I have JSP which contains a form that it's used for the
creation and modificatio of records. Depending on the name of the action, it is
a creation (in which certains field should be modifiable) or a modification (in
which those certains fields should be radonly). I was hoping
Well, the XML comes from an external provider through a webservice, so I would
prefer otheer solution...if possible.
Sent via BlackBerry from T-Mobile
-Original Message-
From: Chris Pratt
Date: Thu, 16 Jun 2011 22:24:33
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
I suppouse it is due to the fact that there can be more than one value for the
same parameter name in a http request.
Sent via BlackBerry from T-Mobile
-Original Message-
From: Vincent Lin
Date: Mon, 4 Jul 2011 12:27:32
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List
I thought of that, but it doesn't work because the other server is not
available through Internet, only the first one. So I need to 'tunnelize' the
request from the browser to the other server thorugh my application.
--Mensaje original--
De: Maurizio Cucchiara
Remitente: maurizio.cucchi..
I mean, I could write an Action that uses an HttpClient to get the page from
the back server and send it back to the browser, but I would like to know if
there is something already written to do this, or if there is a more ortodox
way to do it.
--Mensaje original--
De: Yo
Para: Struts Us
Well, I suppouse that's the only way, it's only that I thought somebody would
have come with this problem early, and I wanted to know how, if so, they solved
it.
JL
Sent via BlackBerry from T-Mobile
-Original Message-
From: Dave Newton
Date: Fri, 26 Aug 2011 18:54:18
To: Struts Users
Humm, I think I'm going to duplicate the two actions and go step by step taking
out my own additions(as you said Tiles and get back to the default stack) and
see on what moment it works fine. I'll let you know.
Thanks
JL
Sent via BlackBerry from T-Mobile
-Original Message-
From: Mauriz
Is there any particular reason for not using an interceptor? Is the perfect
place to do such processing.
--Mensaje original--
De: mohan rao
Para: user@struts.apache.org
Responder a: Struts Users Mailing List
Asunto: How do i redirect to another action in filter?
Enviado: 16 Sep, 2011 11:50
I'm using Struts 2 with WL withou problems for months. You meed to check your
app.
Sent via BlackBerry from T-Mobile
-Original Message-
From: Frans Thamura
Date: Tue, 1 Nov 2011 17:16:16
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: Re: struts2 in weblogi
There is a property called ignorehierarchy which takes care of that.
--Mensaje original--
De: Daniel Ruan
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: JSON Plugin to Include Parent Action's Properties
Enviado: 3 Nov, 2011 11:56
Hey,
How do I include some
There is also a includeProperties that you can use, to select only the
properties you want to expose through json.
Sent via BlackBerry from T-Mobile
-Original Message-
From: Daniel Ruan
Date: Thu, 3 Nov 2011 15:59:23
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
S
The use of hidden fields to avoid the user changing those fields is a security
risk. You are still getting all the fields from the client's side, so the user
or somebody else (through a man-in-the-middle atytack) are still able to change
the value of those fields.
Sent via BlackBerry from T-Mobi
The display name does not matter. Is the name of the war file what matters.
Sent via BlackBerry from T-Mobile
-Original Message-
From: Praveen Jain
Date: Sun, 13 Nov 2011 09:50:57
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: RE: provide Helloworld applica
I think a dot should work.
--Mensaje original--
De: Sathya Prakash
Para: user@struts.apache.org
Responder a: Struts Users Mailing List
Asunto: Regarding Iterator
Enviado: 23 Nov, 2011 16:16
Hi,
I am facing a problem in Iterating the below collection using struts taglib.
List> outerList;
Checl if the brower allows cookies for the host
Sent via BlackBerry from T-Mobile
-Original Message-
From: kranthi reddy
Date: Sat, 14 Apr 2012 15:48:43
To: Struts Users Mailing List;
Reply-To: "Struts Users Mailing List"
Subject: Re: Jsession ID removal
Yes it is set to none in "org/
Hello,
I have a requisite to provide multilanguage in my app using a preffix in the
action. So the URLs would be
http://myserver/mypackage/myaction (for the default language)
http://myserver/en/mypackage/myaction (for english)
Sent via BlackBerry from T-Mobile
Sorry, It went through too early
Sent via BlackBerry from T-Mobile
-Original Message-
From: jlm...@gmail.com
Date: Mon, 9 Jul 2012 18:56:43
To: Struts Users Mailing List
Reply-To: jlm...@gmail.com
Subject: PreffixMapper for language
Hello,
I have a requisite to provide multilanguage
What would be the average way? In this case there is no action to read(well,
there is, but it could be any action), since this result is only called from an
interceptor.
Sent via BlackBerry from T-Mobile
-Original Message-
From: John Keats
Date: Tue, 10 Jul 2012 15:55:46
To: Struts Use
Have you tried to use Persist on the console to see the actual responses FF is
getting? That would give you some idea.
JL
Sent via BlackBerry from T-Mobile
-Original Message-
From: John Boyer
Date: Sat, 27 Oct 2012 18:09:13
To: user@struts.apache.org
Reply-To: "Struts Users Mailing Lis
I also use a session expired interceptor. It detectes if the call is a standard
navigation, or if it is a ajax call(looking for a header in the request). If it
is a navigation, it redirects the user to sessionLogin. if it is a ajax call,
it returns a custom http error code, which is deteced by t
You need to access the request directly. But why do you want to use a cookie in
an interceptor?
Sent via BlackBerry from T-Mobile
-Original Message-
From: john lee
Date: Thu, 23 May 2013 16:20:08
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: Re: struts 2
We use apache ivy for the dependency management, which works with ant. It works
absolutely fine, and it has solved our problems with dependency management. You
should take a look at it.
JL
Sent via BlackBerry from T-Mobile
-Original Message-
From: "Sreekanth S. Nair"
Date: Wed, 26 Jun
Did you get an exception in the logs?
Sent via BlackBerry from T-Mobile
-Original Message-
From: john lee
Date: Wed, 26 Jun 2013 22:13:52
To: struts support
Reply-To: "Struts Users Mailing List"
Subject: OGNL s:interator index problem
an class
class SearchInfo {
String i
You need to provide some code if you want some answers. Where is destination
defined? What's your action definition? Your tiles.xml? The stacktrace?
JL
Sent via BlackBerry from T-Mobile
-Original Message-
From: Hernán
Date: Thu, 5 Sep 2013 19:32:14
To: Struts Users Mailing List
Reply-T
session.setAttribute(“ShoppingCart“,null)
Sent via BlackBerry from T-Mobile
-Original Message-
From: Srineel Mazumdar
Date: Sat, 14 Sep 2013 08:28:54
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: Re: Value not persisting in domain object
Hi Paul,
As per
What is the purpose of validiting a field that cannot be converted to its
corresponding java type? Let's say you have an int field that should be between
0 and 10. If instead of a number, you receive a String like 'one', there needs
to ba a conversion error, it does not make sense to validate th
I believe you can customize the error messages. Check the documentation.
Sent via BlackBerry from T-Mobile
-Original Message-
From: Yaragalla Muralidhar
Date: Sat, 21 Sep 2013 23:20:56
To: Struts Users Mailing List;
Subject: Re: report.conversion.errors
Hi nice but if the value i get i
Can you provide the jsp snipset for the form?
Sent via BlackBerry from T-Mobile
-Original Message-
From: Néstor Boscán
Date: Sat, 21 Sep 2013 16:15:23
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: S2: Not generating javascript validation
Hi
I'm using the
And what happens with the name of the server? I suppose the name of the
weblogic server is not the same as te external name of the loadbalancer, no?
Sent via BlackBerry from T-Mobile
-Original Message-
From: Néstor Boscán
Date: Mon, 30 Sep 2013 16:19:35
To: Struts Users Mailing List
Rep
What are you using on the client for the ajax calls? Dojo? Jquery? They both
generate an http header “x-requested-with” with value “XMLHTTPrequest”. A
normal post can not add http headers, so checking for that header allows you to
be sure the request was made using XHR. Since XHR cannot work cro
Sorry, I just read your mail again, and realice you are not asking specifically
for csrf protection(the link you provided is about that, but not your mail),
but just how to avoid multirequest, so maybe my answer is not usefull at all.
JL
Sent via BlackBerry from T-Mobile
-Original Message--
61 matches
Mail list logo