CAN ANYONE HELP ME WAITING FROM LONG TIME !!!!!!!!!!!!!!!!!!!!

[http://www.flickr.com/photos/46188999@N03/4242366660/]
Dear Friends,
I like to fetch the url of a image file from database[oracle 10g] and generate image with the help of url on a jsp page.Here one of my jsp page pass the parameter for the query to the database which is supported by the javabeans file.And another jsp page with help of javabeans develop image.
The javabeans code is-
package com.example.web;
import java.io.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;
import java.sql.ResultSet;
public class imgBean
private String citymap;
private Connection connection=null;
private ResultSet rs = null;
private Statement st = null;
String connectionURL = "jdbc:oracle:oci8:@database";
public imgBean()
try {
// Load the database driver
Class.forName("oracle.jdbc.driver.OracleDriver");
// Get a Connection to the database
connection = DriverManager.getConnection(connectionURL, "system", "oracle");
}catch(Exception e){
System.out.println("Exception is ;"+e);
public void setcityMap(String citymap)
this.citymap = citymap;
public String getcityMap()
return citymap;
public void query()
try
String sql = "select citymap from map_service where cityname='xyz' ";
Statement s = connection.createStatement();
s.executeQuery (sql);
s.close ();
}catch(Exception e){
System.out.println("Exception is ;"+e);
Waiting for reply.
Thanking you.
Edited by: ivar14 on Jan 5, 2010 6:41 PM

Yes, you were waiting a whole 2 days and you have not made any progress yourself. What are you expecting? That somebody completes the implementation of your requirement for you? If so, you are going to wait a long time more.
Ask a specific question. What are you struggling with? What is preventing you from completing this yourself?

Similar Messages

Maybe you are looking for

  • Link to Specific Location in a Newly Opened file

    I set up a link that opens another file.  Is there a way to go to a specific location (i.e. bookmark) in the file automatically "on Open"? Thanks for the help!!!

  • Limit PO on approval after any change is going in to Error in process

    Hi, We have a problem where one a LIMIT PO is created and ordered and if we make any chnage in the PO the status is changed to Awaiting Approval and on approval, the status is setting as Error in Process (EIP) instead of Ordered. Application Monitor

  • Lazy loading, EntityManager and concurrency.

    I need advice which strategy to use with lazy loading. My project is based on Spring, Struts 2 and Hibernate JPA. I have enough OneToMany and ManyToMany relationships and it's reasonable to use lazy loading. It seems very convenient to load data in S

  • Coordinate system translation from screen coordinates to stage coordinates

    I realize this is not truly a LabVIEW question, but I'm hoping for suggestions. I have a digitized image of a sample on a 3 axis stage. The user selects "paths" for a drill to take along the surface of the sample. On the image, 3 reference points are

  • For Macs next trick: Quicktime 7.6 magically disappears! .

    Who else has had QuickTime 7.6 magically disappear? I updated, it disappeared, I reinstalled it doesn't show up ANYWHERE. I installed from the Mac OSX Install disc AND from the QT  web site. Nothing. The problem started when I went to upgrade to QT 7