• 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

mysterious parameters in forms

 
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello:

I am working on a Struts 2 (2.0.11) application which contains a page with several forms. On most of these forms, mysterious parameters are posted along with the ones in the form. These parameters are called "x" and "y" and I never define them anywhere. Are these normal parameters? If so, what do they mean?

Eric
 
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just to make sure I have this right (correct me if I'm wrong), you're saying that you're seeing "x" and "y" as attributes in your request object? Or are you seeing them somewhere else? If you check your html source, are they in there anywhere? What application server are you using?
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by John Eric Hamacher:
Hello:

I am working on a Struts 2 (2.0.11) application which contains a page with several forms. On most of these forms, mysterious parameters are posted along with the ones in the form. These parameters are called "x" and "y" and I never define them anywhere. Are these normal parameters? If so, what do they mean?



Under IE? Or does the same behavior occur with FF/etc. as well?
 
John Eric Hamacher
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It occurs in FF3 and IE8. The x and y parameters are posted and the ParametersInterceptor complains that it couldn't set these values in the Action.

Thanks
 
LOOK! OVER THERE! (yoink) your tiny ad is now my tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic