Re: Transaction tokens

2004-01-14 Thread Dominique de Waleffe
Richard Hightower wrote: Here is a scaled down excerpt To use a transaction token, follow these steps: 1. Before you load the JavaServer Pages (JSP) page that has the html:form tag on it, call saveToken inside an action. 2. When the user submits the form, call

Transaction tokens

2004-01-13 Thread Dominique de Waleffe
I have a problem understanding how to use those I have jsp pages using html:forms Ted's book says that a hidden field is automatically added when the form sees that a tokens are being used but I fail to see how the forms sees that. In other wods, what do I have to put as attribute to get

RE: Transaction tokens

2004-01-13 Thread Richard Hightower
following the rules in the MVC chapter and it is easy to start using transaction tokens. Now let’s say that you want to make sure that the user cannot hit the back button in the browser and submit the form twice. To do this, you must change the action mapping associated with the input form to map

my version of the Tokens

2003-12-01 Thread Raphaël di Cicco
Hi, before knowing about tokens, I have implemented a way to deal with the refresh of a POST form problem. Now that I know that tokens exist, I can't really use them for several reasons, but mainly because it adds a field in the form which modifies my current form validation with javascript

Re: my version of the Tokens

2003-12-01 Thread Adam Hardy
Hi Raphaël what happens if the user has two browser windows open for two different datasets which use the same action? He will be prevented from submitting the second one. Adam On 12/01/2003 11:30 AM Raphaël di Cicco wrote: Hi, before knowing about tokens, I have implemented a way to deal

Re: my version of the Tokens

2003-12-01 Thread Raphaël di Cicco
as the previous one :( - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, December 01, 2003 12:44 PM Subject: Re: my version of the Tokens Hi Raphaël what happens if the user has two browser windows open for two

Re: tokens creating a field in my forms

2003-11-21 Thread Adam Hardy
On 11/20/2003 11:44 AM Raphaël di Cicco wrote: I understand how tokens work. I'm currently modifying my application to use tokens every time possible. The thing is that I'm doing validation with javascript on my JSPs, and very often checking form elements with the index. When using token, struts

RE: Tokens

2003-11-21 Thread Richard J. Duncan
Is there a complete end-to-end example of proper saveToken() isTokenValid() usage anywhere? (there should be) Regards,   Rich -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 10:16 PM To: Struts Users Mailing List Subject: Re: Tokens

Re: Tokens

2003-11-21 Thread Christian Bollmeyer
Am Freitag, 21. November 2003 16:46 schrieb Richard J. Duncan: Is there a complete end-to-end example of proper saveToken() isTokenValid() usage anywhere? (there should be) Check out the Struts Example application that comes with Struts. Then, tokens are explained best in Struts in Action (one

Re: tokens creating a field in my forms

2003-11-21 Thread Raphaël di Cicco
[EMAIL PROTECTED] Sent: Friday, November 21, 2003 10:48 AM Subject: Re: tokens creating a field in my forms On 11/20/2003 11:44 AM Raphaël di Cicco wrote: I understand how tokens work. I'm currently modifying my application to use tokens every time possible. The thing is that I'm doing validation

tokens creating a field in my forms

2003-11-20 Thread Raphaël di Cicco
Hi, I understand how tokens work. I'm currently modifying my application to use tokens every time possible. The thing is that I'm doing validation with javascript on my JSPs, and very often checking form elements with the index. When using token, struts creates a form element at index 0, so

RE: Tokens

2003-11-20 Thread Mainguy, Mike
Mailing List Subject: Re: Tokens hi Ramadoss Thanks for your help. But this is not i m looking for. I may not be able to explain my question proeprly . But i m looking for saveTOken() method implementation in struts which does not allow duplicate entry of records into the database when the user

Re: Tokens

2003-11-20 Thread Geeta Ramani
Mailing List Subject: Re: Tokens hi Ramadoss Thanks for your help. But this is not i m looking for. I may not be able to explain my question proeprly . But i m looking for saveTOken() method implementation in struts which does not allow duplicate entry of records into the database when

Re: Tokens

2003-11-20 Thread Jason Lea
19, 2003 11:19 PM To: Struts Users Mailing List Subject: Re: Tokens hi Ramadoss Thanks for your help. But this is not i m looking for. I may not be able to explain my question proeprly . But i m looking for saveTOken() method implementation in struts which does not allow duplicate entry of records

Re: Tokens

2003-11-20 Thread Geeta Ramani
PROTECTED] Sent: Wednesday, November 19, 2003 11:19 PM To: Struts Users Mailing List Subject: Re: Tokens hi Ramadoss Thanks for your help. But this is not i m looking for. I may not be able to explain my question proeprly . But i m looking for saveTOken() method implementation in struts

Tokens

2003-11-19 Thread Gurpreet Dhanoa
hi All Can somebody explain small code snap shot of using Tokens. AS i am trying to use it in one of my application. but due to some unknown reason it is not working. I may be doing something wrong. Any help will be appreciated Regards GAry

RE: Tokens

2003-11-19 Thread Ramadoss Chinnakuzhandai
Dhanoa [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 6:19 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Tokens hi All Can somebody explain small code snap shot of using Tokens. AS i am trying to use it in one of my application. but due to some unknown reason

Re: Tokens

2003-11-19 Thread Gurpreet Dhanoa
. - Original Message - From: Ramadoss Chinnakuzhandai [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 7:56 PM Subject: RE: Tokens Hi Gurpreet, If what I understand is correct from your question, you can use split function the same

Re: transaction tokens

2003-08-14 Thread Adam Hardy
Andrew Hill wrote: I dont believe so. :-( btw Likewise for multiple actionforms (for the same mapping) when you have 1 windows open (such as you might want for editing several records selected from a list in the main window...) /btw what's the problem with that? You mean you have the action form

RE: transaction tokens

2003-08-14 Thread Andrew Hill
: Wednesday, 6 August 2003 17:28 To: Struts Users Mailing List Subject: transaction tokens Did the creator of transaction token functionality on the struts Action class have any plan or suggestions about what to do about tokens becoming mixed and invalid in the situation when the user has more than one

transaction tokens

2003-08-14 Thread Adam Hardy
Did the creator of transaction token functionality on the struts Action class have any plan or suggestions about what to do about tokens becoming mixed and invalid in the situation when the user has more than one browser window open? i.e. the user decides to create a new item. - Opens create

Re: transaction tokens

2003-08-14 Thread Adam Hardy
I was thinking there might be a way of controlling transactions by saving all tokens in the session once they are used, and then if it crops up again, not allowing the execution. Would be simple to implement with a hashmap I think. What's the likelihood of 2 transaction tokens being identical

Re: transaction tokens

2003-08-14 Thread Adam Hardy
off to edit a related record, and then bring them back to that form afterwards in the same state they left it. Im not using tokens, but if I was (and I very likely will be - when I get around to it) Id override the struts handling to support opCons for them so instead of one token per session

RE: transaction tokens

2003-08-14 Thread Andrew Hill
, and then bring them back to that form afterwards in the same state they left it. Im not using tokens, but if I was (and I very likely will be - when I get around to it) Id override the struts handling to support opCons for them so instead of one token per session, it would be one per opCon. -Original

RE: transaction tokens

2003-08-14 Thread Edgar Dollin
loosing to much of the information they may have typed. Edgar -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 5:41 AM To: 'Struts Users Mailing List' Subject: Re: transaction tokens I was thinking there might be a way of controlling

RE: transaction tokens

2003-08-06 Thread Andrew Hill
Subject: Re: transaction tokens Andrew Hill wrote: I dont believe so. :-( btw Likewise for multiple actionforms (for the same mapping) when you have 1 windows open (such as you might want for editing several records selected from a list in the main window...) /btw what's the problem

using Tokens with Tiles

2003-03-25 Thread Michael Mattox
I'm trying to prevent the user from submitting a form and then doing a refresh and unknowingly submitting it twice. I've read the about Struts support for tokens, and I understand how to use it when an action is called before the form is displayed. But in my case no action is called before

Re: using Tokens with Tiles

2003-03-25 Thread Nicolas De Loof
submitting a form and then doing a refresh and unknowingly submitting it twice. I've read the about Struts support for tokens, and I understand how to use it when an action is called before the form is displayed. But in my case no action is called before the form is displayed and I don't know where

RE: using Tokens with Tiles

2003-03-25 Thread Andrew Hill
Message- From: Michael Mattox [mailto:[EMAIL PROTECTED] Sent: Tuesday, 25 March 2003 22:37 To: Struts Users Mailing List Subject: using Tokens with Tiles I'm trying to prevent the user from submitting a form and then doing a refresh and unknowingly submitting it twice. I've read the about

RE: using Tokens with Tiles

2003-03-25 Thread Michael Mattox
: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: mardi 25 mars 2003 15:45 To: Struts Users Mailing List Subject: Re: using Tokens with Tiles You should ALWAYS use an action to display a page. I know lot it looks simplier to use JSP URL instead of defining a new action in struts-config

RE: using Tokens with Tiles

2003-03-25 Thread Mick . Knutson
:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 3:37 PM To: Struts Users Mailing List Subject: using Tokens with Tiles I'm trying to prevent the user from submitting a form and then doing a refresh and unknowingly submitting it twice. I've read the about Struts support for tokens, and I

RE: using Tokens with Tiles

2003-03-25 Thread Mick . Knutson
To: [EMAIL PROTECTED] Subject: RE: using Tokens with Tiles I would actually like to see an example of this if you have some. _ Thank You Mick Knutson Sr. Designer - Project Trust aUBS AG, Financial - Zürich Office: +41 (0)1/234.42.75 Internal: 48194 Mobile: 079.726.14.26

RE: using Tokens with Tiles

2003-03-25 Thread Michael Mattox
You could always have just a single BasicAction class that merely sets a token and forwards to the jsp - and reuse this action class in the various mappings wherever a less generic one isnt required. That's what I'm doing with the Tiles forward action. Maybe I should subclass it and do a

RE: using Tokens with Tiles

2003-03-25 Thread Mick . Knutson
/234.42.75 Internal: 48194 Mobile: 079.726.14.26 _ -Original Message- From: Michael Mattox [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 3:50 PM To: Struts Users Mailing List Subject: RE: using Tokens with Tiles I'm using Tiles to display the pages, with the Tiles

RE: using Tokens with Tiles

2003-03-25 Thread Andrew Hill
] Sent: Tuesday, 25 March 2003 22:54 To: Struts Users Mailing List Subject: RE: using Tokens with Tiles You could always have just a single BasicAction class that merely sets a token and forwards to the jsp - and reuse this action class in the various mappings wherever a less generic one isnt

Re: using Tokens with Tiles

2003-03-25 Thread Nicolas De Loof
! -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: mardi 25 mars 2003 15:45 To: Struts Users Mailing List Subject: Re: using Tokens with Tiles You should ALWAYS use an action to display a page. I know lot it looks simplier to use JSP URL instead of defining

RE: using Tokens with Tiles

2003-03-25 Thread Michael Mattox
But if you do it with an action, you only have to change those declarations in one place, not every place that it is used. if I need to change it I can change the Tile definition, I wouldn't need to change it every place it's used. Plus, it looks cleaner to the user with a friendly URL.

RE: using Tokens with Tiles

2003-03-25 Thread Mick . Knutson
Mobile: 079.726.14.26 _ -Original Message- From: Michael Mattox [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 4:01 PM To: Struts Users Mailing List Subject: RE: using Tokens with Tiles But if you do it with an action, you only have to change those declarations in one

RE: using Tokens with Tiles

2003-03-25 Thread Mick . Knutson
: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 4:00 PM To: Struts Users Mailing List Subject: Re: using Tokens with Tiles I you want to keep this URL style, you should extend [forward.do]Action (I don't know the class name) to set a token, and define a new mapping in struts

RE: using Tokens with Tiles

2003-03-25 Thread Michael Mattox
the token methods are struts methods, so they need to be called inside actions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: mardi 25 mars 2003 16:09 To: [EMAIL PROTECTED] Subject: RE: using Tokens with Tiles How would this differ from just creating

RE: using Tokens with Tiles

2003-03-25 Thread Michael Mattox
The class is DefinitionDispatcherWithTokenAction and it's FINAL!! Ugh. So much for extending it. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: mardi 25 mars 2003 16:00 To: Struts Users Mailing List Subject: Re: using Tokens with Tiles I you want

Transaction Tokens

2003-03-04 Thread Alban Soupper
Hi all, I really did not found any answer to this simple question: How do we use the transaction token mechanism? How to avoid the double submit problem ? Tanks, Alban. ** This email and any files transmitted with it

RE: Transaction Tokens

2003-03-04 Thread apachep2
Search list archive. Answers are there. I remember I even posted my code snippet. -Original Message- From: Alban Soupper [mailto:[EMAIL PROTECTED] Sent: March 4, 2003 9:25 AM To: Struts Users Mailing List (E-mail) Subject: Transaction Tokens Hi all, I really did not found any answer

Re: Transaction Tokens

2003-03-04 Thread David Graham
The struts-example webapp uses tokens and the Action class' javadoc is informative. David From: Alban Soupper [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED] Subject: Transaction Tokens Date: Tue, 4 Mar 2003 15

Question using transactional tokens

2003-03-01 Thread Jörg Maurer
Dear struts people ! What am i doing wrong - must be some sort of double submit, but why ? Let me sketch my problem to you - using for the first time transactional tokens, i have the following setup : 1. in my jsp : html:form action=/parameter . html:link page='' onclick=submitSelect('save

RE: Question using transactional tokens

2003-03-01 Thread Ray Madigan
(E-mail) Subject: Question using transactional tokens Dear struts people ! What am i doing wrong - must be some sort of double submit, but why ? Let me sketch my problem to you - using for the first time transactional tokens, i have the following setup : 1. in my jsp : html:form action

RE: Application Flow with Transaction Tokens?

2003-02-19 Thread Jerome Jacobsen
PROTECTED]] Sent: Tuesday, February 18, 2003 3:54 PM To: 'Struts Users Mailing List' Subject: RE: Application Flow with Transaction Tokens? David Geary presented something similar to this in his Advanced JavaServer Pages book. It was implemented on top of his custom Model-2 implementation

RE: Application Flow with Transaction Tokens?

2003-02-19 Thread Greg Hess
then bind the thread to the session and I forward my user to the result page. Requests that come in to my action that contain invalid tokens are just directed to the result.jsp. This way my user is not stuck on their input form while waiting for the result which is sure to cause a second submit

Application Flow with Transaction Tokens?

2003-02-18 Thread Greg Hess
Hi All, I am building an e-commerce module. The flow of the application is as follows: PaymentForm -- ProcessPayment -- Receipt=Success //End Or PaymentForm -- ProcessPayment -- Receipt=Error -- PaymentForm The PaymentForm is

Re: Application Flow with Transaction Tokens?

2003-02-18 Thread Ted Husted
Greg Hess writes: I would like to ignore the fact that the double submit happened and just display the proper receipt. Should I forward the user to a transaction already processed page they will loose their proper receipt and never visually receive the receipt as I also send it by e-mail. I

RE: Application Flow with Transaction Tokens?

2003-02-18 Thread John Espey
3:45 PM To: [EMAIL PROTECTED] Subject: Re: Application Flow with Transaction Tokens? Greg Hess writes: I would like to ignore the fact that the double submit happened and just display the proper receipt. Should I forward the user to a transaction already processed page they will loose

RE: Application Flow with Transaction Tokens?

2003-02-18 Thread DUBCHAK, JOHN (SBCSI)
greater detail and a page reference. HTH, John -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 2:45 PM To: [EMAIL PROTECTED] Subject: Re: Application Flow with Transaction Tokens? Greg Hess writes: I would like to ignore the fact

RE: Application Flow with Transaction Tokens?

2003-02-18 Thread Jerome Jacobsen
of enforcing Javascript to be enabled John's solution is what I've been using. -Original Message- From: John Espey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:50 PM To: Struts Users Mailing List Subject: RE: Application Flow with Transaction Tokens? Nobody will like

RE: Application Flow with Transaction Tokens?

2003-02-18 Thread Jeff_Mychasiw
We did do the javascript thing on a non-struts project. The only reason it was not so bad was because the js code was put put in one menu include that contained the links and that was that. On our current struts project we use tokens in all our important actions to take care of page re loads

E-commerce flow with Transaction Tokens?

2003-02-17 Thread Greg Hess
Hi All, I am building an e-commerce module. The flow of the application is as follows: PaymentForm-- ProcessPayment -- Receipt Success //End -- Receipt Error -- Payment Form The

RE: sturts and tokens, avoid multiple submit example not working

2003-02-04 Thread Ashish Kulkarni
Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 6:21 PM To: [EMAIL PROTECTED] Subject: sturts and tokens, avoid multiple submit Hi, I want to avoid multiple submit of form, and i remmember i had long ago that some tokens can be used

using tokens in struts,

2003-02-04 Thread Ashish Kulkarni
Hi, I was trying to get a example which shows how to use tokens in struts, yesterday i got a previous post from this forum, so i tried it and it did not work for me I am using struts1.1b2 Does any one has used token to avoid multiple submits?? if so can u post some example or some article where i

RE: using tokens in struts,

2003-02-04 Thread pqin
He Is Doing -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: February 4, 2003 1:57 PM To: [EMAIL PROTECTED] Subject: using tokens in struts, Hi, I was trying to get a example which shows how to use tokens in struts, yesterday i got a previous post from this forum

Re: using tokens in struts,

2003-02-04 Thread David Graham
The struts-example app that's included with the distro uses tokens. David From: Ashish Kulkarni [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: using tokens in struts, Date: Tue, 4 Feb 2003 10:57:00 -0800 (PST) Hi, I was trying to get

RE: using tokens in struts,

2003-02-04 Thread Ashish Kulkarni
-Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: February 4, 2003 1:57 PM To: [EMAIL PROTECTED] Subject: using tokens in struts, Hi, I was trying to get a example which shows how to use tokens in struts, yesterday i got a previous post from this forum

RE: using tokens in struts,

2003-02-04 Thread pqin
To: Struts Users Mailing List Subject: RE: using tokens in struts, Hi PQ, Suppose this is my scenarion, dispatchTest.do --- update.jsp (on submit) --- doAction.do (on success) --update.jsp dispatchTest.do populates the form bean and passes it to update.jsp , which displays the data for the user

sturts and tokens, avoid multiple submit

2003-02-03 Thread Ashish Kulkarni
Hi, I want to avoid multiple submit of form, and i remmember i had long ago that some tokens can be used for it, I tried to search net but did not got much info, Does anyone has a code, or tutorial or some info about using tokens, and would like to shore would be highly appreicated, Also has

tokens and set-property

2003-01-30 Thread John . E . Gregg
I'd like to use the set-property element of struts-config to tell my action whether to expect a token. For example, I have an action like this: action path=blah... set-property property=useToken value=true/ /action I'm using an abstract action subclass that itself is a superclass to my real

RE: tokens and set-property

2003-01-30 Thread Jerome Jacobsen
property=useToken value=true/ /action -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 12:19 PM To: [EMAIL PROTECTED] Subject: tokens and set-property I'd like to use the set-property element of struts-config to tell my action

RE: tokens and set-property

2003-01-30 Thread pqin
(request) Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]] Sent: January 30, 2003 12:28 PM To: Struts Users Mailing List Subject: RE: tokens and set-property The set-property

Re: where can i download struts-example about using tokens

2002-12-31 Thread James Mitchell
It is used in the struts-example.war that ships with the binary distribution or you can build your own from the source. If you want to go straight to an example of using tokens, when you deploy the struts-example.war file open your browser and: 1. Log in to the example (the username

where can i download struts-example about using tokens

2002-12-30 Thread Huy Banh
Hi all, Im a new Struts, can anyone tell me where i can download Struts-Example about using token for testing. Thanks alot, Huy __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe,

a question about transaction tokens

2002-12-13 Thread Andy Kriger
I'm wondering how these are used. They're not mentioned in the O'Reilly book or in the docs. After calling generateToken, do I need to wrap my action's execute code in an isTokenValid block to check for an existing token? For example... execute(...) { generateToken(request);

RE: a question about transaction tokens

2002-12-13 Thread shirishchandra . sakhare
search the mailing list archive for Token mechanism in Struts: U will find teh answers...a few very good mails... -Original Message- From: akriger [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 4:09 PM To: struts-user Cc: akriger Subject: a question about transaction tokens

RE: a question about transaction tokens

2002-12-13 Thread Andy Kriger
PROTECTED]] Sent: Friday, December 13, 2002 10:05 To: [EMAIL PROTECTED] Subject: RE: a question about transaction tokens search the mailing list archive for Token mechanism in Struts: U will find teh answers...a few very good mails... -Original Message- From: akriger [mailto:[EMAIL PROTECTED

RE: a question about transaction tokens

2002-12-13 Thread Sri Sankaran
transaction tokens i'd love to do that however whenever i text search i get an error 'Text search not available for this list'. i reported this on the mailing list a few days ago but got no response. so, can someone answer my question here? -Original Message- From: [EMAIL PROTECTED] [mailto

RE: a question about transaction tokens

2002-12-13 Thread Brian DeLuca
To implement is pretty straight forward Action A -- generate token route to JSP A JSP A routes to Action B -- In action B call isTokenValid if you want to continue Token validation call saveToken then route to JSP C. JSP C then routes to Action C -- call isTokenValid then call

RE: a question about transaction tokens

2002-12-13 Thread Andy Kriger
. -a -Original Message- From: Brian DeLuca [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 10:33 To: [EMAIL PROTECTED] Subject: RE: a question about transaction tokens To implement is pretty straight forward Action A -- generate token route to JSP A JSP A routes to Action B

RE: Tokens - a simple explanation wanted

2002-12-09 Thread Naeem Ally
- From: David Bolsover [mailto:[EMAIL PROTECTED]] Sent: 06 December 2002 11:04 To: Struts User Subject: Tokens - a simple explanation wanted Hi Can anyone assist with a simple explanation of how Tokens work and their application within the Struts framework? I have read the docs and looked

Tokens - a simple explanation wanted

2002-12-06 Thread David Bolsover
Hi Can anyone assist with a simple explanation of how Tokens work and their application within the Struts framework? I have read the docs and looked at the examples but still have problems understanding how (or if) Tokens solve the problem that arises when a user uses the browser back button

Did not found doc about Tokens

2002-11-08 Thread Xavier Combelle
I post this message because I did not found any doc about the createToken, isTokenValid, resetToken API. So I will explain what I understood about it from the struts-exemple if something is wrong, I would like that someone will say to me and if there is some doc tell me where ... The token API

Did not found doc about Tokens

2002-11-08 Thread Xavier Combelle
I post this message because I did not found any doc about the createToken, isTokenValid, resetToken API. So I will explain what I understood about it from the struts-exemple if something is wrong, I would like that someone will say to me and if there is some doc tell me where ... The token API

how to use tokens?

2002-10-29 Thread Gemes Tibor
Is there out on the web some description, howto or manual about how to use tokens in struts, and what are they good for? I searched a while, and did not find any resource. Tia, Tib -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail

Re: [Tokens][2] Where can I find more information....

2002-09-10 Thread Michael Delamere
I think I will do just that. Mind you, then I´ll redirect everyone to my page :-P. Regards, Michael - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 10, 2002 4:29 AM Subject: RE: [Tokens][2] Where can I

Re: [Tokens][2] Where can I find more information....

2002-09-10 Thread Eddie Bush
LOL! That's ... that's ... LOL :-) Thanks for the good laugh ;-) Andrew Hill wrote: As Mozilla is open source, perhaps you could create an extended version of it that supports your requirements and force your users to use that? ;-) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

[Tokens] Where can I find more information....

2002-09-09 Thread Michael Delamere
Hi, I posted a thread last week about having caching problems and that my shopping cart was being incremented by 1 everytime somebody refreshed the browser. The answer I got was that one could use tokens. Sounds like a great idea! So I had a look at the struts-example to find out what it´s

Re: [Tokens] Where can I find more information....

2002-09-09 Thread Michael Delamere
, September 09, 2002 9:40 AM Subject: [Tokens] Where can I find more information Hi, I posted a thread last week about having caching problems and that my shopping cart was being incremented by 1 everytime somebody refreshed the browser. The answer I got was that one could use tokens. Sounds

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Andrew Hill
to submit something there to another action that also users tokens. (This is one of those anoying users who opens fifty billion windows and does stuff in one window while waiting for submission / page loading in another window to complete) Wont the two interfere? ie: User fills in form in window

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Jon.Ridgway
Hi Andrew, The generateToken method in Action.java generates a unique token each time saveToken is called. Jon Ridgway -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 09 September 2002 10:23 To: Struts Users Mailing List Subject: RE: [Tokens][2] Where can I find

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Jon.Ridgway
2002 11:00 To: 'Struts Users Mailing List' Subject: RE: [Tokens][2] Where can I find more information Hi Andrew, The generateToken method in Action.java generates a unique token each time saveToken is called. Jon Ridgway -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Andrew Hill
]] Sent: Monday, September 09, 2002 18:09 To: 'Struts Users Mailing List' Subject: RE: [Tokens][2] Where can I find more information Hi Andrew, Read your post properly this time; umm good point the same key is used and one would over right the over, invalidating the first... So yes it looks

Re: [Tokens][2] Where can I find more information....

2002-09-09 Thread Michael Delamere
Mailing List [EMAIL PROTECTED] Sent: Monday, September 09, 2002 12:21 PM Subject: RE: [Tokens][2] Where can I find more information Yep. Thats what I thought. :-( There are actually quite a few things in struts that seem to have this issue in relation to constant session keys. Single browser

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Andrew Hill
PROTECTED]] Sent: Monday, September 09, 2002 18:40 To: Struts Users Mailing List Subject: Re: [Tokens][2] Where can I find more information Of course its only a problem if one tries to accomodate multitasking users, so if users can be trained not to play silly buggers with multiple windows

Re: [Tokens][2] Where can I find more information....

2002-09-09 Thread Michael Delamere
09, 2002 12:36 PM Subject: RE: [Tokens][2] Where can I find more information I guess the real trick would be to eliminate the users altogether, as they seem to be the source of most problems. hehe. Maybe I should try and divert the [OT] JavaScript auto-submit form thread to this dicussing

Re: [Tokens][2] Where can I find more information....

2002-09-09 Thread Michael Delamere
Subject: Re: [Tokens][2] Where can I find more information I don´t quite agree (sorry) because I want to solve the problem without javascript. I hate javascript and always try to do without it :-) Regards, Michael - Original Message - From: Andrew Hill [EMAIL PROTECTED

Constant session keys and multiple windows (WAS: RE: [Tokens][2] Where can I find more information....)

2002-09-09 Thread Andrew Hill
operationContext id, so if they submit the first window, then try submitting the second they get an error for the second as the operationContext object was removed when the first page was submitted. Similar effect to using tokens but it emerged as a side effect so I dont think it quite as elegant

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Andrew Hill
18:57 To: Struts Users Mailing List Subject: Re: [Tokens][2] Where can I find more information I don´t quite agree (sorry) because I want to solve the problem without javascript. I hate javascript and always try to do without it :-) Regards, Michael - Original Message - From

Re: [Tokens][2] Where can I find more information....

2002-09-09 Thread Michael Delamere
ok, sod the users, who needs them anyway :-) - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 09, 2002 12:49 PM Subject: RE: [Tokens][2] Where can I find more information Yeh. Good point. Mind you

Re: [Tokens][2] Where can I find more information....

2002-09-09 Thread Eddie Bush
Unfortunately, there isn't always a non-JavaScript solution ;-) What do you do with requirements that can only be implemented with JavaScript? Regards :-) Eddie Michael Delamere wrote: I don´t quite agree (sorry) because I want to solve the problem without javascript. I hate javascript and

Re: [Tokens][2] Where can I find more information....

2002-09-09 Thread Michael Delamere
:22 PM Subject: Re: [Tokens][2] Where can I find more information Unfortunately, there isn't always a non-JavaScript solution ;-) What do you do with requirements that can only be implemented with JavaScript? Regards :-) Eddie Michael Delamere wrote: I don´t quite agree (sorry

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Dhulipala, Kris
- From: Michael Delamere [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 6:57 AM To: Struts Users Mailing List Subject: Re: [Tokens][2] Where can I find more information I don´t quite agree (sorry) because I want to solve the problem without javascript. I hate javascript and always try

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Jon.Ridgway
' Subject: RE: [Tokens][2] Where can I find more information I might be mistaken but isn't that what is supposed to happen? snip === if (isTokenValid(request, true)) { System.out.println(TOKEN IS VALID); } else { System.out.println(TOKEN

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Dhulipala, Kris
hi Jon, My Bad... Just checked the api and looks like you are right. -Kris -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 10:49 AM To: 'Struts Users Mailing List' Subject: RE: [Tokens][2] Where can I find more information Hi Kris

Re: [Tokens][2] Where can I find more information....

2002-09-09 Thread ISHIKAWA Tadashi
: Dhulipala, Kris [mailto:[EMAIL PROTECTED]] Sent: 09 September 2002 15:34 To: 'Struts Users Mailing List' Subject: RE: [Tokens][2] Where can I find more information I might be mistaken but isn't that what is supposed to happen? snip === if (isTokenValid(request, true

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Andrew Hill
: Re: [Tokens][2] Where can I find more information Unfortunately, there isn't always a non-JavaScript solution ;-) What do you do with requirements that can only be implemented with JavaScript? Regards :-) Eddie Michael Delamere wrote: I don´t quite agree (sorry) because I want to solve

  1   2   >