This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a servlet which creates an object "jdbcAdapter" (from examples in JDK). I put the object into a session variable and get this object in a JSP page. When the JSP is being compiled, the line "String sColumnName = jdbcAdapter.getColumnName[col];" comes up as an error with "Attempt to reference method getColumnName in class JDBCAdapter as an instance variable.". I use other methods in this class which don't generate an error like this. Anybody have any ideas on the cause?