A rather basic question. I want to accomplish in my JSP: if((request.getParameter("ext")!=null)||(request.getParameter("ext").equals( "0"))) { /* do Something */ } else { /* do Something else */ }
Using the <logic:equals> tag I write <logic:equals parameter="ext" value="0"> </logic:equals> <logic:equals parameter="ext" value="1"> </logic:equals> But first this is not an "else" equivalent and secondly it does not account for "null" if the parameter is not found in request. What is the solution? Thanks for your time on this silly question. -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>