Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

justify this

 
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: 447
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!