How to read a file from a specific server directory with JSP in a .war file?
0 posts in topic
Flat View  Flat View

Posted By:   johnny_G
Posted On:   Monday, February 10, 2003 04:25 AM

I am trying to write a JSP to read a file located in a specific directory , the JSP is being zipped in a .war file and deployed in JBoss3.0

I try to use request.getRealPath("/") to return the actual path , but it returns null, any idea I can read the file and put it in JSP?

About | Sitemap | Contact