HI All,
We have two pages and both of them have s:token tag and both of them use
token interceptor.
After I submit one form I need to display another form in another page.
I am using redirectAction to redirect
Before redirecting in the first action class I am setting token value into
session.
HI All,
We have two pages and both of them have s:token tag and both of them
use
token interceptor.
After I submit one form I need to display another form in another page.
I am using redirectAction to redirect
Before redirecting in the first action class I am setting token value
into
Hi Christoph,
There are token checks while submitting the ist page and while displaying
the 2nd page also.
The real problem is that while redirecting token is getting cleared from
request parameter. Is there anyway I can pass the token in the request
parameter to the next action.
On Tue, Jun
You can use OGNL in result config, like this:
result name=showReportResult type=redirect-action
param name=actionNamegenerateReport/param
param name=struts.token.namefoo/param
param name=foo${token}/param
/result
Regards,
Christoph
Hi Christoph,
Thanks a lot Christoph..
It was a very good hint.
Ultimately I have added the token value into request attribute and then
accessed it in the result param as follows :
param name=struts.token.nametoken/param
param name=token%{#request.token}/param
On Tue, Jun 17, 2014 at 6:09 PM, Christoph
cm132005 schrieb am 06.05.2009 18:37:
In Struts 1 dispatch action, a request parameter can be set either as a form
attribute or as a request attribute from within any action class or through
URL and the correct dispatch method in the action gets invoked. Is there a
way to do this in Struts 2?
Marco Bakera wrote:
cm132005 schrieb am 06.05.2009 18:37:
In Struts 1 dispatch action, a request parameter can be set either as
a form attribute or as a request attribute from within any action
class or through URL and the correct dispatch method in the action
gets invoked. Is there a way
obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
Date: Sun, 10 May 2009 08:16:04 -0400
From: newton.d...@yahoo.com
To: user@struts.apache.org
Subject: Re: Struts 2 - Dispatch Action
!dMethodName.do
Thanks.
--
View this message in context:
http://www.nabble.com/Struts-2---Dispatch-Action-tp23410702p23410702.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
basically ActionSupport gives you some default implemented methods to make
your life easier.
if you dont need them you can simply implement Action
But for Struts2 you dont even HAVE to implement the Action interface, as
long as you have a method called execute or any named method that your
donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
Date: Sun, 12 Apr 2009 22:11:09 +0800
Subject: Re: struts 2, implements Action / extend ActionSupport
From: kenshin...@gmail.com
To: user
john lee wrote:
i am aware that in struts 2, when define an action, it could be
public class XXX implement Action
or
public class XXX extends ActionSupport
what is the difference b/w above two? in other words, in what kind of scenario, pick which one?
If you want validation or
Martin Gainty wrote:
assuming you are using Actions
annotation to define multiple action methods within a single action class?
@Action(/different/url)
http://cwiki.apache.org/WW/convention-plugin.html
How does this differentiate between implementing Action or extending
ActionSupport?
i am aware that in struts 2, when define an action, it could be
public class XXX implement Action
or
public class XXX extends ActionSupport
what is the difference b/w above two? in other words, in what kind of scenario,
pick which one?
tks in advance
john
On Tuesday 03 February 2009 14:54:55 SanJ.SANJAY wrote:
Has anyone faced this issue with Sample application??
SanJ.SANJAY wrote:
Has anyone here tried and tested the Sample Application code that comes
for this book Struts 2 In Action ?
I am having hard time to fix it. Currently I am
Application code that comes
for this book Struts 2 In Action ?
I am having hard time to fix it. Currently I am facing the issues in
applicationContext.xml file.
I have the following in my applicationContext.xml on the top -
beans xmlns=http://www.springframework.org/schema/beans
On Tuesday 03 February 2009 15:11:06 SanJ.SANJAY wrote:
Even if I use the top content form your applicationContext.xml in chapter
4, I get the same error..so wondering what else could eb the issue.
Do you have multiple versions of Spring, or anything else that might attempt
to parse XML in
Has anyone faced this issue with Sample application??
SanJ.SANJAY wrote:
Has anyone here tried and tested the Sample Application code that comes
for this book Struts 2 In Action ?
I am having hard time to fix it. Currently I am facing the issues in
applicationContext.xml file
On Tuesday 03 February 2009 15:27:02 SanJ.SANJAY wrote:
I actually do not have in WEB-INF/lib, I have all the jars in a shred lib
and add them in Eclipse and build. This is how I do for other projects
also.
There is some sort of problem with the XML in parsing. I would try re-creating
the
...@struts.apache.org
--
View this message in context:
http://www.nabble.com/Struts-2-In-Action-Sample-Application-tp21798278p21818169.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user
Has anyone here tried and tested the Sample Application code that comes for
this book Struts 2 In Action ?
I am having hard time to fix it. Currently I am facing the issues in
applicationContext.xml file.
This is the header for XML file that comes with sample application code
?xml version=1.0
Hey all --
Not sure who is in the area, but I will be presenting Struts 2 at the St.
Louis Gateway JUG next Tuesday evening (Dec 2). You can get directions to
the meeting here:
http://www.gatewayjug.org/
Peace,
Scott
--
View this message in context:
http://www.nabble.com/Struts-2-in-Action
:- There are decent forums at manning.com that might be a better place to put
:- this note -- I know the authors read the forums there.
Well I did try posting to the authors blog on the Manning site but the
post was thrown out because of the XML
...
I'm not one of the authors, but I helped...
--- On Sat, 7/12/08, Lyallex [EMAIL PROTECTED] wrote:
Well I did try posting to the authors blog on the Manning
site but the post was thrown out because of the XML...
Using a service like pastebin, paste2, nopaste, etc. solves that problem, and
can be a better alternative for long-ish snippets
On Sat, Jul 12, 2008 at 5:56 PM, Lyallex [EMAIL PROTECTED] wrote:
Wouldn't it be great to have the redirect resultType parameterised in
some way so that the target could be set depending on which action was
selected ..
You can. Try something like this:
action name=Login
I have no idea if the authors of the book Struts 2 in Action read this
list or if anyone that does
knows how to contact them but I have a question for them, or maybe
someone else knows the answer
Authors
On page 99, chapter 4 of your book you state.
Every action in this package will
now have
There are decent forums at manning.com that might be a better place to put
this note -- I know the authors read the forums there.
jk
On Fri, Jul 11, 2008 at 11:59 AM, Lyallex [EMAIL PROTECTED] wrote:
I have no idea if the authors of the book Struts 2 in Action read this
list or if anyone
of the book Struts 2 in Action read this
list or if anyone that does
knows how to contact them but I have a question for them, or maybe
someone else knows the answer
Authors
On page 99, chapter 4 of your book you state.
Every action in this package will
now have authentication with automatic
example seems to
work for most apps.
-Wes
On Fri, Jul 11, 2008 at 11:59 AM, Lyallex [EMAIL PROTECTED] wrote:
I have no idea if the authors of the book Struts 2 in Action read this
list or if anyone that does
knows how to contact them but I have a question for them, or maybe
someone else
Hi guys,
Has anyone taken a look at 'Struts 2 in action' from manning publications?
I am thinking about buything this book and wanted someone's suggestion.
If you've browsed through the book, can you please provide some feedback.
Thanks
I bought it not long after it came out and it's excellent. I hit it at
least once a week, even now. The night I bought it, when I had good fiction
to read, and good nerdy nonfiction to read, I chose to read *Struts 2 In
Action* for fun instead. And I got something good out of doing so. I
PROTECTED]
Sent: Thursday, July 03, 2008 11:50 AM
To: Struts Users Mailing List
Subject: Struts 2 in action
Hi guys,
Has anyone taken a look at 'Struts 2 in action' from manning
publications?
I am thinking about buything this book and wanted someone's suggestion.
If you've browsed through
Yes, I highly recommend it, it's the top book on my desk right now.
I've referenced it almost everyday since I read it.
omnipresent wrote:
Hi guys,
Has anyone taken a look at 'Struts 2 in action' from manning publications?
I am thinking about buything this book and wanted someone's
it.
omnipresent wrote:
Hi guys,
Has anyone taken a look at 'Struts 2 in action' from manning
publications?
I am thinking about buything this book and wanted someone's suggestion.
If you've browsed through the book, can you please provide some feedback.
Thanks
--
View
a look at 'Struts 2 in action' from manning
publications?
I am thinking about buything this book and wanted someone's suggestion.
If you've browsed through the book, can you please provide some
feedback.
Thanks
--
View this message in context:
http
. Is this
possible to define in Struts 2?
--
Thx, Milan
--
View this message in context:
http://www.nabble.com/-Struts-2--Two-action-classes---tp17824236p17824236.html
Sent from the Struts - User mailing list archive at Nabble.com
--- On Fri, 6/13/08, Milan Milanovic [EMAIL PROTECTED] wrote:
I want to have two action classes, the first class called
SearchAction will search from database and show results in a jsp page.
When user click some row I want to pass that value (through a session) to
another action class called
://www.nabble.com/-Struts-2--Two-action-classes---tp17824236p17825719.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--- On Fri, 6/13/08, Milan Milanovic [EMAIL PROTECTED] wrote:
I want to read object from database in the first action class
(i.e. Fruit fruit) to store it into session and then to call
other action class method for editing of that method, is it possible ?
Oh, I thought you said you were
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/-Struts-2--Two-action-classes---tp17824236p17826614.html
Sent from the Struts - User mailing list archive at Nabble.com
--- On Fri, 6/13/08, Milan Milanovic [EMAIL PROTECTED] wrote:
Yes that's what I want. The first action search in database and show the
list of Fruits. Then user click on one and that concrete Fruit object is
passed to other action for editing.
All you can pass in an HTTP request is a string.
: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/-Struts-2--Two-action-classes---tp17824236p17827033.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
If you're using a persistence framework (Hibernate, JPA, etc.) then No.
During after the first request the EntityManager will be closed, so when
you access it during the second request updates will not be propagated
to the database.
Al.
Milan Milanovic wrote:
But could I pass object
-
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/-Struts-2--Two-action-classes---tp17824236p17827033.html
Sent from the Struts - User mailing list archive at
Nabble.com
commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/-Struts-2--Two-action
-
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/-Struts-2--Two-action-classes---tp17824236p17827033.html
Sent from
Milan,
Please read the EntityManager JavaDoc at
http://java.sun.com/javaee/5/docs/api/javax/persistence/EntityManager.html
and http://www.oracle.com/technology/pub/articles/gupta-jpa.html You'll
see these explain why you can't simply put the object into a session and
keep using it.
You
Does Struts 2 support something similar to Spring MVC's session scope
bean/form where the form input will live across multiple requests to the
same (or even different) actions? If so, how does that work?
--
View this message in context:
http://www.nabble.com/-Struts-2--Session-Action---Form
requests to the
same (or even different) actions? If so, how does that work?
--
View this message in context:
http://www.nabble.com/-Struts-2--Session-Action---Form--tp17700464p17700464.html
Sent from the Struts - User mailing list archive at Nabble.com
that would automatically become outdated but for Struts
2 in Action it is absolutely not the case. On the other hand, and as a
trade-off you find no info about some plugins shipped with Struts 2 e.g.
dojo but then maybe it was a bit out of scope. I think overall the scope
of this book is excellent
On Wed, Jun 4, 2008 at 2:58 PM, Giovanni Azua [EMAIL PROTECTED] wrote:
I am very excited that I've just received my copy :) You guys Don, Scott
and Chad did an excellent job. I specially like very much the coverage of
core topics of the framework e.g. the explanation on writing custom
but
it was outdated for S2 ... today I have the book :)
What I like the most though is that this is the first Struts 2 book that
manages to be truly S2 version unspecific. I was afraid to receive just
another S2 book that would automatically become outdated but for Struts 2 in
Action it is absolutely
[EMAIL PROTECTED] wrote:
Thanks Giovanni --
It is nice to hear all the work is paying off for you! Would you be willing
to post a review on Amazon?
Sure thing! within the next 48 hours :)
-
To unsubscribe, e-mail: [EMAIL
Chad, Scott, and I are pleased to announce the release of our book,
Struts 2 in Action, published by Manning Publications.
Struts 2 In Action introduces the Apache Struts 2 web application
framework and shows you how to quickly develop professional,
production-ready modern web applications.This
wrote:
Chad, Scott, and I are pleased to announce the release of our book,
Struts 2 in Action, published by Manning Publications.
Struts 2 In Action introduces the Apache Struts 2 web application
framework and shows you how to quickly develop professional,
production-ready modern web
. But I faced the following problem: my tag
object should recover within its attribute src a stream obtained from an
action struts 2. If a recovery this flow is done smoothly in the event of a
gif or jpeg image, the same action can not play the video in the drive
(displaying a black screen on the player
: my tag
object should recover within its attribute src a stream obtained from an
action struts 2. If a recovery this flow is done smoothly in the event of a
gif or jpeg image, the same action can not play the video in the drive
(displaying a black screen on the player without the possibility
Patrick Lightbody does an overview of WebWork and the Struts merger,
comparing to other web frameworks and explaining validation support,
Ajax support, and how to achieve rapid development with WebWork/Struts
2
* http://www.infoq.com/presentations/struts-2-webwork-pat-lightbody
-Ted.
58 matches
Mail list logo