write « Database « JSP-Servlet Q&A





1. Retrieving data from database and writing new data into mysql    stackoverflow.com

I have the following code running on Tomcat and the loop is not working. Everytime I am trying to check for new data in the table called "enero", the conditions are ...

2. Problem writing in DB from Servlet    seamframework.org

Problem writing in DB from Servlet 06. Jul 2010, 11:25 America/New_York | Link Paul Sasel Hello,I'm facing the following problem:I need a servlet, that triggers an action, which updates a database. Therefore I have the following code://The Servletpublic class UpdateTriggerServlet extends HttpServlet { private static final long serialVersionUID = 2753219314158104445L; protected void service(final HttpServletRequest request, final HttpServletResponse response) ...

3. How to handle concurrent write/read to a db from a servlet    coderanch.com

Hi all, in my application i have two databases. lets call them a & b.from database a i will be just reading data and displaying it to the user using a sevlet.no writing has to be done.but on database b i have to perform writing as well as reading operations.since multiple users will be accessing this database i have a few ...

4. Servlet and writing to oracle    coderanch.com

ok, I have a servlet that is performing a couple of things and then goes to write to the DB. The problem is that it compiles fine, but when ran it turminates when trying to create the ResultSet. Some code: Create Connection: private static Connection getDBConnection () { System.out.println ("getting DB connection ..."); try { String jdbc_url= "jdbc :o racle:thin:@localhost:1521 :o ...

5. Is ths Transaction Handling Write or Wrong ?    coderanch.com

I little bit hesitate about Transaction handling in my application. I want to add data to database, before do this following steps should happen add data to account table update account serial which locate another table add data to monthtrm table update monthtrm serial which locate another table In order to success this step I used container manager transaction below show ...

8. How to link function written in sql with jsp    dbforums.com

Hello Sir, I have a jsp code with slope field. This slope field is a list box with values as follows: 0-2% 10-15% 15-25% 2-6% 25-50% 6-10% greater than 50% Now I have to sort the values in the following order: 0-2% 2-6% 6-10% 10-15% 15-25% 25-50% So at the back end I have the following code: create or replace function ...

9. HELP! jsp writing to database issue (hangs)    forums.oracle.com