• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts token

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys ...
I am basically developing a struts based application.

In this regard i need to handle the duplicate form submissions.
So i have used the struts saveToken(), isTokenValid() methods to achieve the functionality.It worked fine in some scenarios and failing in other scenarios ..

> CAN SOMEBODY HELP ME HOW TO HANDLE SAVETOKEN() ACROSS MULTIPLE ACTIONS WITHOUT FAILING ..

> IS IT POSSIBLE TO USE BOTH THE SAVETOKEN AND ISTOKENVALID in SINGLE ACTION CLASS ...

YOUR REPLY IS GREATLY APPRECIATED..
THANKING YOU !! PLS REPLY ASAP ....
[ March 07, 2008: Message edited by: Bear Bibeault ]
 
Ranch Hand
Posts: 341
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
gkibmmer java,
Welcome to JavaRanch!

We're pleased to have you here with us in the Struts forum, but there
are a few rules that need to be followed, and one is that proper names are
required. Please take a look at the JavaRanch Naming Policyand adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Also, writing subject in all caps is considered rude and is like shouting in the forum. Please modify it as something like "Struts token ..help soon"
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Fix your name, stop shouting and explain what scenarios are failing and maybe somebody could give you a hand. You have searched the forum and read other threads on this topic, right?

- Brent
 
Sheriff
Posts: 67749
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Indeed. I have fixed the subject line as a favor. Please see to adjusting your display name right away.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Aravind K",
Please check your private messages again.
-Ben
 
reply
    Bookmark Topic Watch Topic
  • New Topic