aspose file tools*
The moose likes Struts and the fly likes mysterious parameters in forms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "mysterious parameters in forms" Watch "mysterious parameters in forms" New topic
Author

mysterious parameters in forms

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
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
Tom Rispoli
Ranch Hand

Joined: Aug 29, 2008
Posts: 349
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?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Apr 25, 2007
Posts: 230
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mysterious parameters in forms