[thelist] JSP question[solved]

Tom Dell'Aringa pixelmech at yahoo.com
Fri Jul 22 10:47:38 CDT 2005

--- Tom Dell'Aringa <pixelmech at yahoo.com> wrote:

> Hi, I have a fairly simple JSP page that has this in it:
> <% if (request.getParameter("epi_menuItemID").equals("acc2d82162c12ae00e8340f573a48a0c")) { %>
> id="current" <% } %>

Ah, turns out someone told me I needed this instead:

<%  if ("acc2d82162c12ae00e8340f573a48a0c".equals(request.getParameter("epi_menuItemID"))) { %>

which worked.



Melissa: Ace, Where are you?
Ace Ventura: I'm in Psychoville and Finkle's the Mayor.

More information about the thelist mailing list