Win a copy of Head First Android this week in the Android forum!

Jeff Hancock

Greenhorn
+ Follow
since Nov 17, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jeff Hancock

And even that does not work. Even with ODBC connections to the database setup (SYSTEM, USER and FILE), all fail with Data Source not found and no default driver specified.
I don't believe there is a way to connect to MS Access from Java.
From what i have read, JDBC DBC bridge to Access can only be accomplished with a type 1 driver.
I've created a FILE DSN, SYSTEM DSN and USER DSN. The same error occurs each time. Something is missing.
I found an example that does this. It's in chapter 11 of the wrox press book Java Server Programming. Basically, you need to create a servlet that runs on the server that contains the database. The applet can connect to the servlet. The book example shows this. Download the book examples from www.wrox.com. The book is not necessary in this case.
I have the proper ODBC System DSN setup and i stil receive the error. My classpath is set for rt.jar. I installed MDAC 2.7.
Thank you for the quick response. Actually, the field is part of an HTML textbox. The getparameter just gets the value from the text box. If the user types in a double quote, it is too late to encode it isn't it.

It isn't being passed in as part of the query string. The method is post.
Thank you again.
18 years ago
i have a servlet that is using the request objects getParameter() method to retrieve a string. The string contains a double quote (") and is therefore truncated somewhere between the client and the servlet. Is there anyway to retrieve the value in it's entirety without truncating? the value is (3/16"):ABSBT. Am only getting (3/16
18 years ago
Thanks again Stephanie. I checked the links you gave and they all seem to create a .gif file on the server before dislaying it. I was hoping there was a way to store the image in a buffer in memory on the client and display it as an image without actually creating a file on a server. I thought it might store the buffered in the cients Temporary Internet Files directory on their local C: drive.
Thanks again... You have been most helpful.
By the way... I really am a greenhorn.
21 years ago
I love the idea of using a mouse listener to see if they click one the image. Thank you very much. I will check out the links.
21 years ago
Thank you for your reply...
I guess i was hoping i could do this entirely in an applet since if i create a file on the server and then display it, i would need to delete it from the server when the user was finished. I could have many users creating files on the server. I was trying to figure out how to use a BufferedOutputStream instead of a FileOutputStream and then display the buffer in the applet window.
21 years ago
I am using a charting applet to display a line trend chart in a browser window, however the user cannot right click on the chart and save it as a gif image. I have the acme gif encoder, however the examples i have only work for writing the encoded gif to a file on the server (using a servlet). I would like to know if using an applet only, the image can be displayed directly in the browser window for the user to save.
21 years ago