[jboss-user] [Beginners Corner] - ear: read a file from webapplication

mars1412 do-not-reply at jboss.com
Wed Mar 5 13:01:24 EST 2008


how can I read a file from my webapplication?
e.g. file is in project.ear\twentyfouract.war\img\mypic.gif

File file = new File("img\mypic.gif");

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134362#4134362

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134362



More information about the jboss-user mailing list