Struts 2 ParametersInterceptor

Are your logs being filled up with errors like: ERROR – ParametersInterceptor.setParameters(204) | ParametersInterceptor – [setParameters]: Unexpected Exception caught setting ‘_’ on ‘class com.company.web.MyAction: Error setting expression ‘_’ with value ‘[Ljava.lang.String;@1491ddc’ If so, it’s because Struts 2 is parsing the query string/post data and trying to “set” a value for each parameter it finds. I’m […]

Struts 2 bug – s:submit tag type=button rendering

In Struts 2.0.11, the s:submit tag with type=button does not render properly. While working on a project using Struts 2, I was attempting to create a HTML button that looked something like: <button type="button" class="button positive save"> <img src="/images/tick.png" alt="Save"> Save </button> I followed the Struts 2 Tag Reference for the submit tag and tried […]

Eric Martin
1home
2blog
3projects
4photography
5about
6contact
ssearch
ccomment
p/←previous
n/→next
ttop