| Author |
Heeellllppppp......Uploading images
|
Sanz Joanne
Greenhorn
Joined: Feb 24, 2003
Posts: 8
|
|
|
Does anybody know where i could get JSP source code that can upload and download images from my sybase database. Please Please Please
|
 |
sampy jagan
Ranch Hand
Joined: Sep 17, 2002
Posts: 34
|
|
Probably you wont find one Readymade. you have to code one yourself, use ResultSet.getBytes(), or ResultSet.getObject() Note that in Sybase the default SQL Select size is 32K. Larger images will be silently truncated, in that case use Statement.setMaxFieldSize(), Also see to it that you dont give a too large value which will make your JDBC run out of memory. Regards jagan
|
 |
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
|
|
Sanz, Please change your name to be compliant with JavaRanch's naming policy. It should not be obviously fictitious. Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name. You can change your name: here. Thanks, Cindy
|
"JavaRanch, where the deer and the Certified play" - David O'Meara
|
 |
 |
|
|
subject: Heeellllppppp......Uploading images
|
|
|