< s: set name="startIndex" value="%{#parameters['start'][0]}"/ >
< s: property value="@java.lang.Integer@parseInt(#startIndex)+4"/ >
Here the first statement grab the query string value using parameter object and assign it as a string, the '%{}' syntax is used for this purpose.
The second statement convert the string to int and add the two integers.
IMPORTANT: for the parseInt to work you should enable the constant in struts.xml
< constant name="struts.ognl.allowStaticMethodAccess" value="true" / >