This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: escape and scan
 
It's not a secret anymore!