Two Laptop Bag*
The moose likes Struts and the fly likes static parameters error on action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "static parameters error on action" Watch "static parameters error on action" New topic
Author

static parameters error on action

nobeltr ozgur
Greenhorn

Joined: Sep 20, 2009
Posts: 14
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

Joined: Sep 29, 2008
Posts: 12617

Why is all your data static? It almost never should be in an S2 action--actions are instantiated per-request.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: static parameters error on action
 
Similar Threads
s:iterator issue
JSF + PrimeFace: Validation Error: Value is not valid
Update Database with the newly entered value
Struts2 - <s:iterator> in two-Dimensional Array.
ONGL Question