--------------------------------------------------
From: "Pid" <[email protected]>
Sent: Wednesday, June 09, 2010 1:09 AM
To: "Tomcat Users List" <[email protected]>
Subject: Re: What is the difference between ${param.P} and <%= request.getParameter("P") %>?

other than the one being EL and easier/quicker to code, not much I think.
you are better off using${param.["P"] though as the [] allows you to break away from identifer naming conventions so the identifier can be a numeric as an example. the expression becomes the argument to the printnl in the converted servlet for the JSP.

IOW

<%= request.getParameter("P") % will become out.println ( request.getParameter("P") in translated servlet. just had a look in HF servlets and JSP and the only thing could find was what happens behind the scenes

HF lists the use of EL as being there because the guys over using Adobe are more familiar with EL than code.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to