Hi Johan, There is no real difference in functionality.
${param.parametername} uses the expression language syntax (EL) and is generally prefered for JSP's. <%= request.getParameter("parametername") %> is an expression and bad practice. Although both will work and ok for a 'home' project, most corporate coding standards stipulate that any Java syntax in JSP's is a no-no as it is harder to read and maintain (especially for non Java web designers/authors). Please have a look at the following as it explains in more detail: http://java.sun.com/developer/EJTechTips/2004/tt0126.html Hope this helps. On Sun, Jun 21, 2009 at 6:07 PM, Bruintje beer <johanj.denb...@gmail.com>wrote: > > Hi, > > I am new to jsp so maybe my question is stupid. But what is the > difference between > > ${param.parametername} > > and > > <%= request.getParameter("parametername") %> > > to get the value of the parameter > > regards > > Johan > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---