[thelist] JSP fumbling.....

Anthony Baratta Anthony at Baratta.com
Sat Nov 16 22:06:01 CST 2002


At 07:36 PM 11/16/2002, Paul Roub wrote:
>The == operator checks for object identity in this case, not identical
>values.  You wan to say:
>
>         if (HTTPMethod.equals("POST"))

At 07:32 PM 11/16/2002, Chris Johnston wrote:
>Basically what you are asking for is whether the two strings are the
>same object, which obviously they are not.

Thanks Guys....

Shortly before your answers, I found that while code diving at Sun. Man I
really need to re-train myself when moving from ASP to JSP, sigh.

I guess I have some self educating to do:

         http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html

Thanks!
---
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."




More information about the thelist mailing list