InputStream fs = new FileInputStream(thepath)thepath是文件的路径,我想在jsp中用到这个路径,要怎么引用过来.
放在servlet的request中,然后把这个请求再forward到jsp,jsp就可以访问request中的数据了