tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Foo Shi Hao" <z...@doramail.com>
Subject Getting file information
Date Mon, 18 Jun 2001 03:55:18 GMT
Greetings to all, newbie here.
Would like to ask if anyone knows how to get the file information such as the file name(not
the entire path)
of the running JSP file?

Let's say i were to run confirmation.jsp, how do i get the filename to a string when confirmation.jsp
is running?
I tried getRealpath and it returns the entire directory with the filename.Could i just get
the filename instead?

Thanks, Zeon
-- 

Get your free email from www.doramail.com with 30 Megs of disk space in webhosting and e-mail
storage!





Powered by Outblaze

Mime
View raw message