File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

escape and scan

 
m brymer
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got It!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic