I have the following code: <% String paramname = "myname"; %>
<jsp:forward page="mypage.jsp"> <jsp:param name="<%= paramname %>" value="<%= myvalue %>"/> </jsp:forward> There isn't a problem with substituting the value for 'myvalue' - this works fine. However, the param name causes an IllegalArgumentException. I know the value for paramname has been set OK because I can test it in the Java code above. If I hardcode the same value as the param name it works fine. Has anyone got any idea what is going wrong here? Thanks, Catharine =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com