aspose file tools*
The moose likes JSP and the fly likes about file path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "about file path" Watch "about file path" New topic
Author

about file path

siva prakash
Ranch Hand

Joined: Aug 24, 2004
Posts: 80
Hi all,

here iam browsing a file at a html page , after submission jsp page will be called , in which some logic will be there , which will do something of data present in file .

but while retrieving request.getParameter() only the file name is coming but not full path of file ,

how to over come this problem


its really urgent

pls help me

siva
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
in your jsp, use

application.getRealPath("/filename")


Sarath Mohan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about file path