This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

justify this  RSS feed

 
feroz muhamed
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OutputStream o=new FileOutputStream("C:\..").
 
SaSaS
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what u actually meant by this?
"Remember that people are different; talk about your expectations, don't just make that person guess."
 
kermitgarrett
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi..
instead of saving the image file itself id like to save only the path.. but there seems to be a problem with the backslash..
for ex.,
\images\product203.jpg
but when i look at the database it only saved
imagesproduct203.jpg
im using MySQL
-=-= garrett
i hope somebody could help me with this...
thank you so much!!!
 
Maki Jav
Ranch Hand
Posts: 449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not use forward slashes then ? Or you could use the double back slashes.
The other approach could be to store only the name & extension of your files while, you can append the path at the time you are retriving your pics.
I hope that it works for you.
Maki Jav
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!