Category:

Get Resource From a Packed War

If you are using a packed war file and have resources you need to access such as images, xml, xsl or images etc, use the method getResourceAsStream and pass in the path as the parameter.

e.g.
getResourceAsStream( “picture.gif” );

JSP

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.