This demo works with <f:viewParam> which is only available with Facelets (not with JSP pages)

Use these links from external applications:
#{request.contextPath}/faces/content/90-non-faces-request/x-fish-pond.xhtml?fishId=0&dswid=#{request.parameterMap['dswid'][0]}
#{request.contextPath}/faces/content/90-non-faces-request/x-fish-pond.xhtml?fishId=1&dswid=#{request.parameterMap['dswid'][0]}
#{request.contextPath}/faces/content/90-non-faces-request/x-fish-pond.xhtml?fishId=2&dswid=#{request.parameterMap['dswid'][0]}
#{request.contextPath}/faces/content/90-non-faces-request/x-fish-pond.xhtml?fishId=3&dswid=#{request.parameterMap['dswid'][0]}
#{request.contextPath}/faces/content/90-non-faces-request/x-fish-pond.xhtml?fishId=4&dswid=#{request.parameterMap['dswid'][0]}