Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
As NOP correctly pointed out, the way jsp:includes are handled is to place all the param’s in the request and then process the include which retrieves the params from the request. You cannot place primitive types into the request directly per the definition of the setAttribute method (basically the compiler warning). You CAN wrap this with an Integer, but I realize this may be sub optimal in your case. You would also change to using a <%@include which will do a direct inline, then in your included page just use the i variable. This would create compiler warnings within MyEclipse, but it will work in the servlet container as valid code would be generated from the include. (I had to do this in one instance where it was just too much work/waste of resources to work around it).