Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

escape and scan

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi All,
I am trying to insert into a database a file selected by the user via a browse button on a jsp form. My problem is that I want to scan the users choice and only save the name of the file and its extension to the database and eliminate the location, ie. \pc\somefile\someotherfile\filename.txt I don't get any errors but the log is reading my delimiter as blank rather then \ can someone look at my code snippet and tell me what I am missing? Thanks!
 
m brymer
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
oops I am in the wrong forum, Sorry guys!
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic