• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Seeing wierd action behavior

 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am seeing a strange behavior that I haven't seen before. I have a html:link on my page that directs the user to a javascript method. This method sets a form value and then submits the form.

What is wierd is that in debugging, I see that i do get to the action that I would expect, the action re-gets the data that was just being viewed on the page (but in a differant order), sets this data onto the form, and then redirects back to the same page. When the page is rendered however, I do not see it in the newly sorted order, I just see the last version of the data.

So, it looks like I get to action, get new data, set new data to form, but the jsp doesnt seem to use the form data, it keeps the "old" data.

Does this sound familiar to any one?
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This could be due to the browser caching your page. Try specifying:

in your struts-config.xml file and see if that fixes it.

Note: Don't forget to restart the server after making this change.
[ April 23, 2007: Message edited by: Merrill Higginson ]
 
    Bookmark Topic Watch Topic
  • New Topic