GeeCON Prague 2014*
The moose likes JSP and the fly likes escape and scan Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "escape and scan" Watch "escape and scan" New topic
Author

escape and scan

m brymer
Ranch Hand

Joined: Jan 04, 2005
Posts: 64
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

Joined: Jan 04, 2005
Posts: 64
Got It!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: escape and scan