Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

static parameters error on action  RSS feed

 
nobeltr ozgur
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im working with tutorials of struts 2.1.6
i have error that i cant understand
i have an action class

here is my jsp


i got an error
WARNING: param with value resolved as null cannot be make as iterator, it will be ignored and hence will not appear in the merged iterator

i know the error is about static fields but i there is noting coming of my page when i browse

can anybody help me please?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why is all your data static? It almost never should be in an S2 action--actions are instantiated per-request.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!