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.
Hi friend, I have wrote servlet program with JDBC and wanted to insert a record into my log file using sql statement. I wanted to insert program variable field values into file field. e.g. Pgm Variable String user = "Joe"; String add="address"; Sql Statement "Insert into log (name, address) values(<user>, <add>)"; How do I insert value from user & add variable into log file in name and address field. what is the syntax. Thank you very much and appreciate quick response as I am developing the pgm and stuck with above problem. Joe Lopes.