File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes File Name getting in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "File Name getting in jsp" Watch "File Name getting in jsp" New topic
Author

File Name getting in jsp

ramesh poorella
Ranch Hand

Joined: Jul 19, 2011
Posts: 59

How to get file Name here i am getting full path of the file... but i need only file name.. how it will be done?


N Sahni
Ranch Hand

Joined: Jul 07, 2011
Posts: 55

Hi,

You can try:


Thanks and Regards,
Nilesh Sahni | nsahni@infocepts.com | www.infocepts.com
ramesh poorella
Ranch Hand

Joined: Jul 19, 2011
Posts: 59
N Sahni wrote:Hi,

You can try:



Thank you shani
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: File Name getting in jsp
 
Similar Threads
About deleting files using listFiles()
java code to connect Siebel webservice
how to configure weblogicserver 6.0
Why can't servlets access a file with a relative path
Path for Temporary Directory